this post was submitted on 25 Nov 2023
931 points (97.3% liked)

Programmer Humor

32472 readers
806 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 37 points 11 months ago (10 children)

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.

[–] [email protected] 2 points 11 months ago (1 children)

Oh man I hadn't seen a git checkout -b in years haha since they introduced switch and restore, never looked back

[–] [email protected] 2 points 11 months ago

I'll admit I just press the buttons in my favourite IDE and had to look up the commands to remind myself, but yeah.

load more comments (8 replies)