@SeeMinusMinus to Programmer [email protected]English • 6 months agoIn case of fireimagemessage-square73arrow-up1952arrow-down126
arrow-up1926arrow-down1imageIn case of fire@SeeMinusMinus to Programmer [email protected]English • 6 months agomessage-square73
minus-squareFushuan [he/him]linkfedilinkEnglish36•6 months agoSlight correction. In case of fire: Git checkout -b firemyusername Git commit -am=“fire” Git push. We don’t want to have conflicts with code versions when going in on a rush, better to create a new branch. We can merge all the conflicts afterwards.
minus-square@[email protected]linkfedilink1•6 months agoCan’t you? Could’ve sworn you could I’ve done it with TFS source control at least, thought it would be possible with git
minus-square@[email protected]linkfedilinkEnglish1•edit-26 months agogit push origin refs/stash@{$n}:stash/$USER/$n iirc
minus-square@[email protected]linkfedilink2•6 months agoOh man I hadn’t seen a git checkout -b in years haha since they introduced switch and restore, never looked back
minus-squareFushuan [he/him]linkfedilinkEnglish2•6 months agoI’ll admit I just press the buttons in my favourite IDE and had to look up the commands to remind myself, but yeah.
minus-squareFushuan [he/him]linkfedilinkEnglish2•6 months agoNah, what I need is doble new lines of code blocks since this is markdown and it fucked the display.
minus-squaremalijaffrilinkfedilink2•6 months agoHere you go: git checkout -b firemyusername git commit -am="fire" git push
minus-squareFushuan [he/him]linkfedilinkEnglish1•6 months agoI know how to do it, I was just lazy lmao.
Slight correction. In case of fire:
Git checkout -b firemyusername Git commit -am=“fire” Git push.
We don’t want to have conflicts with code versions when going in on a rush, better to create a new branch. We can merge all the conflicts afterwards.
Isn’t that what git stash is for though?
Can’t push a stash
Can’t you? Could’ve sworn you could
I’ve done it with TFS source control at least, thought it would be possible with git
git push origin refs/stash@{$n}:stash/$USER/$n
iircOh man I hadn’t seen a
git checkout -b
in years haha since they introducedswitch
andrestore
, never looked backI’ll admit I just press the buttons in my favourite IDE and had to look up the commands to remind myself, but yeah.
Gonna need some semicolons or double ampersand in there
Nah, what I need is doble new lines of code blocks since this is markdown and it fucked the display.
Here you go:
git checkout -b firemyusername git commit -am="fire" git push
I know how to do it, I was just lazy lmao.