并建立一个仓库
②、这里需要根据自己系统的不同安装好对应的github环境。
当然也要设置好$PATH
测试是否配置成功:
git --version
①、设置用户名
git config --global user.name ‘你的git用户名‘
git config --global user.name ‘你的git用户名‘
git config --list
①、建立空仓库 test
成功后会进入下方窗口,这里复制一些窗口中的git链接
mkdir ./test touch hello.py
git init
原文:https://www.cnblogs.com/ku1a/p/11319667.html