git - git 命令使用笔记
原创
©著作权归作者所有:来自51CTO博客作者peerslee的原创作品,请联系作者获取转载授权,否则将追究法律责任
$ ssh-keygen -t rsa -C "your_email@youremail.com"
$ ssh -T git@github.com
$ git config --global user.name ""
$ git config --global user.email ""
$ ssh -T git@github.com
git rm [文件夹] -r -f
git commit -m ["注释"]
git push orgin [branch-name]
git push origin :branch_you_want_to_delete
git add
git commit -m ""
git push -u origin master
echo "# ums" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin git@github.com:LiPenglin/ums.git
git push -u origin master
git checkout -b feature_x
git checkout master
git branch -d feature_x
git pull