Windows 键 + R 调出黑窗口, 使用命令上传代码到 GitHub 仓库.
1. 查看 git 版本, 极速赛车平台开发 (企 娥: 217 1793 408)
- C:\Users\xxx>git --version
- git version 2.8.1.windows.1
2. 查看 git 配置
- C:\Users\xxx>git config --listbr/>core.symlinks=false
- core.autocrlf=true
- core.fscache=true
- color.diff=auto
- color.status=auto
- color.branch=auto
- color.interactive=true
- help.format=html
- http.sslcainfo=C:/javasoftwear/Git-2.8.1-64-bit/mingw64/ssl/certs/ca-bundle.crt
- diff.astextplain.textconv=astextplain
- rebase.autosquash=true
- credential.helper=manager
- user.name=lankk1
- user.email=8xxxx3@qq.com
- credential.helper=manager
3. 进入本地代码目录 mailto:br/>core.symlinks=false
core.autocrlf=true
core.fscache=true
color.diff=auto
color.status=auto
color.branch=auto
color.interactive=true
help.format=html
http.sslcainfo=C:/javasoftwear/Git-2.8.1-64-bit/mingw64/ssl/certs/ca-bundle.crt
diff.astextplain.textconv=astextplain
rebase.autosquash=true
credential.helper=manager
user.name=lankk1
user.email=8xxxx3@qq.com
C:\Users\xxx>cd C:\gitupload
C:\gitupload>DIR
驱动器 C 中的卷是 OS
卷的序列号是 9C07-D1DE
C:\gitupload 的目录
- 2018/07/25 11:06 <DIR> .
- 2018/07/25 11:06 <DIR> ..
- 2018/07/25 11:06 <DIR> main
0 个文件 0 字节
3 个目录 105,449,271,296 可用字节
- C:\gitupload>
- mailto:br/%3Ecore.symlinks=false%3Cbr/%3Ecore.autocrlf=true%3Cbr/%3Ecore.fscache=true%3Cbr/%3Ecolor.diff=auto%3Cbr/%3Ecolor.status=auto%3Cbr/%3Ecolor.branch=auto%3Cbr/%3Ecolor.interactive=true%3Cbr/%3Ehelp.format=html%3Cbr/%3Ehttp.sslcainfo=C:/javasoftwear/Git-2.8.1-64-bit/mingw64/ssl/certs/ca-bundle.crt%3Cbr/%3Ediff.astextplain.textconv=astextplain%3Cbr/%3Erebase.autosquash=true%3Cbr/%3Ecredential.helper=manager%3Cbr/%3Euser.name=lankk1%3Cbr/%3Euser.email=8xxxx3@qq.com%3Cbr/
mailto:br/>core.symlinks=false
core.autocrlf=true
core.fscache=true
color.diff=auto
color.status=auto
color.branch=auto
color.interactive=true
help.format=html
http.sslcainfo=C:/javasoftwear/Git-2.8.1-64-bit/mingw64/ssl/certs/ca-bundle.crt
diff.astextplain.textconv=astextplain
rebase.autosquash=true
credential.helper=manager
user.name=lankk1
user.email=8xxxx3@qq.com
来源: http://www.bubuko.com/infodetail-2699649.html