𝕨𝕒𝕤𝕒𝕓𝕚@feddit.de to Programmer Humor@lemmy.mlEnglish · 2 年前We've all been therefeddit.deimagemessage-square16fedilinkarrow-up1300
arrow-up1300imageWe've all been therefeddit.de𝕨𝕒𝕤𝕒𝕓𝕚@feddit.de to Programmer Humor@lemmy.mlEnglish · 2 年前message-square16fedilink
minus-squareRedscare867@lemmy.mllinkfedilinkEnglisharrow-up3·edit-22 年前This is why I always git push origin +branch_name
minus-squareforgeddit@sopuli.xyzlinkfedilinkarrow-up1·edit-22 年前My go-to these days is to push the current branch, dynamically. git push origin HEAD Depending on the VC, HEAD has different prefix/suffixes to make it work. Edit: formatting, also I never checkout master I do origin/master so I cannot even push it with this method. I think
This is why I always
git push origin +branch_name
My go-to these days is to push the current branch, dynamically.
git push origin HEAD
Depending on the VC, HEAD has different prefix/suffixes to make it work.
Edit: formatting, also I never checkout master I do origin/master so I cannot even push it with this method. I think