Conversation
@llvm I get it backwards like 90% of the time, and end up with a new branch on the remote named $HASH with my staged stuff in it ;)
0
0
1
@llvm hah, and that's not going to work on bitbucket. You need "git push <repo> <local branch>: refs/heads/<remotebranch>" iirc
1
0
0
@llvm (your syntax works there only for pushing to existing branches)
0
0
0
Edited 1 year ago
@llvm Our bitbucket at work does not work without the refs/heads bit for pushing to a new branch. Other forges differ.
0
0
0
@lenary @llvm Butbucket also has the fetch the PRs thing - super handy, since it works even if the source repo is private and you cant fetch it itself.
0
0
0