使用git上传极速赛车平台开发代码到GitHub

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
[email protected]
credential.helper=manager
3.进入本地代码目录

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>

猜你喜欢

转载自blog.51cto.com/13887009/2150010