feature-add-trash: force the delete of a branch

This commit is contained in:
rkiel
2015-06-06 08:35:35 -04:00
parent f939991f6f
commit 067b1b3ccc
3 changed files with 42 additions and 0 deletions

View File

@@ -35,6 +35,10 @@ module Shared
run_cmd "git branch -d #{branch}"
end
def git_local_branch_trash ( branch )
run_cmd "git branch -D #{branch}"
end
def git_prune
run_cmd "git remote prune origin"
end