Skip to content

Commit

Permalink
Including aftermerge funcion to bash_profile
Browse files Browse the repository at this point in the history
  • Loading branch information
lucascaton committed Oct 28, 2013
1 parent 5eb8882 commit fe06e11
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions files/bash_profile
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,18 @@ fcd(){
pwd
}

aftermerge(){
branch=`git branch 2> /dev/null | grep \* | sed 's/* //'`

git checkout master
git pull --rebase
git remote prune origin
git branch -d $branch

clear
git branch -a
}

custom_prompt(){
history -a
history -c
Expand Down

0 comments on commit fe06e11

Please sign in to comment.