[git] branch 삭제

etc 2013. 9. 10. 21:22


Local branch 삭제

git branch -d hoge


remote branch 삭제

git push --delete origin hoge




혹은 


Local

$ git branch -D bugfix

Remote

$ git branch -rd origin/bugfix
Deleted remote branch origin/bugfix (was 2a14ef7).
$ git push



http://stackoverflow.com/questions/2003505/how-do-i-delete-a-git-branch-both-locally-and-remotely

Posted by tenn
,