Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 7 lines (5 sloc) 148 Bytes
#!/bin/bash
current_branch=`git rev-parse --abbrev-ref HEAD`
git checkout master
git pull origin master --rebase
git rebase master $current_branch