Skip to content

Commit

Permalink
Merge pull request #1 from trevrosen/master
Browse files Browse the repository at this point in the history
Moved pruning
  • Loading branch information
ywen2 committed Sep 26, 2011
2 parents 91db9db + ba34222 commit 3fc82c3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion delete_git_branch
Expand Up @@ -6,6 +6,8 @@ if [ $# -ne 1 ]; then
exit 127
fi

echo "First fetching and pruning to reconcile with remote..."
git fetch --all --prune

git push origin :refs/heads/$@
git branch -D $@
git fetch --all --prune

0 comments on commit 3fc82c3

Please sign in to comment.