Git alias to rebase and merge in one go
If you find yourself repeatedly switching into a branch to rebase it onto master to (fast-forward) merge it into master, here's the appropriate alias for you:
remerge = !git checkout 1ドル && git rebase master && git checkout master && git merge 1ドル
Written by Oliver Gierke
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#