Skip to content

Commit 0e68b64

Browse files
committed
autostash when pulling master
1 parent 13cd047 commit 0e68b64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-remaster

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ if git fetch --no-tags origin $MAIN_BRANCH; then
3636
# if not on master branch, check it out, update and return to branch
3737
if [[ $BRANCH != $MAIN_BRANCH ]]; then
3838
git checkout $MAIN_BRANCH
39-
git rebase origin/$MAIN_BRANCH --rebase-merges
39+
git rebase origin/HEAD --rebase-merges --autostash
4040
git checkout -
4141
fi
4242
# rebase changes on top of origin/master

0 commit comments

Comments
 (0)