Git: merge -> rebase in git-upstream alias.
This commit is contained in:
@ -45,7 +45,7 @@ function git-upstream() {
|
||||
local branch=${1-master}
|
||||
git fetch upstream
|
||||
git checkout $branch
|
||||
git merge upstream/$branch
|
||||
git rebase upstream/$branch
|
||||
}
|
||||
|
||||
# Add all staged files to previous commit
|
||||
|
Reference in New Issue
Block a user