Py学习  »  Git

[精华] GIT操作

Py站长 • 11 年前 • 5281 次点击  

会持续更新

分支操作:

  • 建分支 git checkout -b mybranch1
  • 完成创建分支:git push -u origin mybranch1
  • 当前使用哪个分支:git branch -r 或 git ls-remote
  • 删除分支:git branch -d mybranch1
  • 切换分支:git checkout master
  • 看当前的工作分支:git branch

Reference:

http://www.worldhello.net/

Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/650
 
5281 次点击  
文章 [ 3 ]  |  最新文章 10 年前