diff --git a/git/gitconfig.symlink b/git/gitconfig.symlink index dcd91d7..3a6180f 100644 --- a/git/gitconfig.symlink +++ b/git/gitconfig.symlink @@ -44,6 +44,9 @@ cleanup = "!git remote prune origin && git gc && git clean -df && git stash clear" + # rebase the current branch with changes from upstream remote + update = !git fetch upstream && git rebase upstream/`git rev-parse --abbrev-ref HEAD` + # grep commands # 'diff grep'