Skip to content

Commit

Permalink
Fix(topic-move): Set upstream branch on push
Browse files Browse the repository at this point in the history
  • Loading branch information
phdru committed Mar 15, 2024
1 parent 7a95c8f commit 007b295
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitalias.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1746,7 +1746,7 @@
new_branch=\"$1\"; \
old_branch=\"$(git current-branch)\"; \
git branch --move \"$old_branch\" \"$new_branch\"; \
git push origin \":$old_branch\" \"$new_branch\"; \
git push --set-upstream origin \":$old_branch\" \"$new_branch\"; \
};f"
Expand Down

0 comments on commit 007b295

Please sign in to comment.