1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
| git config git config git config git init git add -A git commit -m "message"
git remote add origin git@gitservicename:username/reponame.git
git remote rm origin
git push -u origin master 推送master分支 git push -u origin -u表示追踪分支,下次可无参使用git push
git clone url
ssh-keygen 三次空格,.ssh/id_rsa.pub下为key
|