git branch - sth.

 1 git branch ( show all local branch )

 2   

 3 git branch -r ( show all remote branch )

 4   

 5 git branch -a ( show both local and remote branch )

 6   

 7 git branch -d | -D ( delete a local branch D: force  )

 8   

 9 git branch -d -r ( delete a remote branch )

10   

11 git branch -m | -M oldname newname ( rename a branch D: force )

 

你可能感兴趣的:(git)