Skip to content

Instantly share code, notes, and snippets.

@miend miend/gitrbo.sh
Last active Aug 29, 2015

Embed
What would you like to do?
Git rebase from origin shortcut
# Git rebase origin/["your checked out branch"]
function git_rebase_from_origin() {
git rebase origin/$(git rev-parse --symbolic-full-name --abbrev-ref HEAD)
}
alias 'gitrbo'='git_rebase_from_origin'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.