You're viewing a single thread.
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.
37 0 ReplyIsn't that what git stash is for though?
2 0 ReplyCan't push a stash
4 0 Replygit push origin refs/stash@{$n}:stash/$USER/$n
iirc1 0 ReplyCan't you? Could've sworn you could
I've done it with TFS source control at least, thought it would be possible with git
2 1 Reply
Oh man I hadn't seen a
git checkout -b
in years haha since they introducedswitch
andrestore
, never looked back2 0 ReplyI'll admit I just press the buttons in my favourite IDE and had to look up the commands to remind myself, but yeah.
2 0 Reply
Gonna need some semicolons or double ampersand in there
1 0 ReplyNah, what I need is doble new lines of code blocks since this is markdown and it fucked the display.
2 0 ReplyHere you go:
git checkout -b firemyusername git commit -am="fire" git push
2 0 ReplyI know how to do it, I was just lazy lmao.
1 0 Reply