SeeMinusMinus@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year agoIn case of firelemmy.worldimagemessage-square101fedilinkarrow-up1905arrow-down128
arrow-up1877arrow-down1imageIn case of firelemmy.worldSeeMinusMinus@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square101fedilink
minus-squareFushuan [he/him]@lemm.eelinkfedilinkEnglisharrow-up34·1 year 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-squareflashgnash@lemm.eelinkfedilinkarrow-up2·1 year agoIsn’t that what git stash is for though?
minus-squareflashgnash@lemm.eelinkfedilinkarrow-up2arrow-down1·1 year 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-squarePoolloverNathan@programming.devlinkfedilinkEnglisharrow-up1·edit-21 year agogit push origin refs/stash@{$n}:stash/$USER/$n iirc
minus-squarereboot6675@sopuli.xyzlinkfedilinkarrow-up2·1 year 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]@lemm.eelinkfedilinkEnglisharrow-up2·1 year 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-squaremarx2k@lemmy.worldlinkfedilinkarrow-up1·edit-21 year agoGonna need some semicolons or double ampersand in there
minus-squareFushuan [he/him]@lemm.eelinkfedilinkEnglisharrow-up2·1 year agoNah, what I need is doble new lines of code blocks since this is markdown and it fucked the display.
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.