在第一次使用git时,从github clone下代码后,需要添加ssh来绑定github和本地git代码仓库
git开发流程


删除远程分支,首先需要回到该分支所在的上个分支,比如我的是在lm-5.2.0-version分支,首先退回到5.2.0-version(git checkout 5.2.0-verion)这个上层分支,然后执行 git branch -d lm-5.2.0-version
git branch -a 查看所有(包括本地和远程)分支
git branch 查看本地分支
git branch -r查看远程分支
切换分支 git checkout <分支名>,然后可以在这个分支下在创建自己的分支
git branch newbranch 是创建本地分支,


http://www.cnblogs.com/springbarley/archive/2012/11/03/2752984.html(此链接有详细使用,可供过后查看学习)
网友评论