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