git命令

git clone http://github.com/mayuanwei/excelreadandwrite

git init

git status

git add filename

git commit -m '提交注释' (git commit -a)

git push origin maste 推送到远程仓库分支

git fetch origin master 取回远程仓库分支(默认取回所有分支)

git merge 合并

git pull (git fetch+git merge)

git branch brname 创建分支

git log

git checkout brname 检出到分支(git checkout -b brname 创建并检出到分支)

posted on 2016-08-17 14:20  小马哥哥的哥哥  阅读(124)  评论(0编辑  收藏  举报

导航