git clone https://github.com/c005machao5/machao.git git romote add orgin https://github.com/c005machao5/machao.git git config --global user.name git config --global user.email git add ./TEST git status git commit -m "第一次提交" git push -f origin master
git checkout master git branch -D dev 删除 git checkout -b dev origin/dev //创建并切换分支 git add ./TEST git commit -m "第二次提交" git push -f origin dev git branch -r //查看远程的仓库 git fetch 拉创建的所有分支 git branch -a git pull --all // 最后拉取所有分支代码 git branch -a //查看本地和远程仓库的所有分支
删除远程文件 git add . git commit -m "delete" git push -u orgin dev PreferredAuthentications publickey User yinjie.feng c005machao5 http://c005machao5.github.io
