1
当前目录下!!
git init
git remote add origin https://github.com/lucy3505/learning.git
git checkout -b studyGit
本地创建新分支(-b)并切换到新分支(checkout) 左下角看分支
git add .
git commit -m 'init'
git push
git push --set-upstream origin studyGit
输入账号密码
在本文件下的.git文件里的config里修改
url = https://lucy3505:password@github.com/lucy3505/learning.git