Bash: Fix git-upstream checkout.
This commit is contained in:
parent
c90b29c8af
commit
fc05e9b67e
@ -165,7 +165,7 @@ function git-fork() {
|
|||||||
function git-upstream() {
|
function git-upstream() {
|
||||||
branch=${1-master}
|
branch=${1-master}
|
||||||
git fetch upstream
|
git fetch upstream
|
||||||
git co origin $branch
|
git checkout $branch
|
||||||
git merge upstream/$branch
|
git merge upstream/$branch
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user