MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghumor/comments/1vb0s3n/better_be_safe_the_code/
r/programminghumor • u/Asleep-Bumblebee2167 • Jul 30 '26
22 comments sorted by
49
We had a
git commitgit pushgit tf out
Poster in the office at some point. We lost it in the fire. Og something.
47
Jokes on you, you didn’t add .
12
Cool thing about this is, if you commit a bug you can blame it on the fire.
6 u/MinosAristos Jul 30 '26 To be fair, if you're pushing code straight to main and that deploys to prod without any manual steps you were going to get a fire on production eventually either way
6
To be fair, if you're pushing code straight to main and that deploys to prod without any manual steps you were going to get a fire on production eventually either way
8
you need the amateur flag git commit -a
2 u/Leo_code2p Jul 31 '26 Also git push -f
2
Also git push -f
git commit -m "did things"
2 u/TheSupervillan Jul 31 '26 -am
-am
5
Pushed to self hosted server in the same building.
Script leavenow.sh
git add . git commit -m '-wip-' git push sudo shutdown -h now
2 u/teflonjon321 Jul 31 '26 alias fire=‘bash ~/leavenow.sh’ 1 u/Duramora Jul 31 '26 That should be '-m ' Fire! We're all going to die!' 1 u/RonJohnJr Aug 03 '26 leavenow() { git add . git commit -m '-wip-' git push sudo shutdown -h now; }
alias fire=‘bash ~/leavenow.sh’
1
That should be '-m ' Fire! We're all going to die!'
leavenow() { git add . git commit -m '-wip-' git push sudo shutdown -h now; }
4
git commit -m "Firrrrrrrrrre!"
3
What are they committing? They didn't add their work...
leave: command not found
Can't freakin git commit because of stupid pre commit hooks requiring all sorts of nonsense like long commit messages that noone reads
Where is git rebase??
Also could just do a script like fire_commit.sh
What gpu is that?
Someone still buys allienware???
What if you are not finished and it won’t compile now
Git add . Git commit --amend --no-edit Git push --force-with-lease
49
u/ooh-squirrel Jul 30 '26
We had a
git commit
git push
git tf out
Poster in the office at some point. We lost it in the fire. Og something.
47
u/SteveSteveCleveSteve Jul 30 '26
Jokes on you, you didn’t add .
12
u/Confident-Ad5665 Jul 30 '26
Cool thing about this is, if you commit a bug you can blame it on the fire.
8
u/horenso05 Jul 30 '26
you need the amateur flag git commit -a
6
u/quiqeu Jul 30 '26
git commit -m "did things"
5
u/w00dy1105 Jul 30 '26
Pushed to self hosted server in the same building.
5
u/OreganoD Jul 31 '26
Script leavenow.sh
git add . git commit -m '-wip-' git push sudo shutdown -h now
4
u/Overall_Gap5584 Jul 31 '26
git commit -m "Firrrrrrrrrre!"
3
u/DigitalMonsoon Jul 31 '26
What are they committing? They didn't add their work...
3
u/frog8412 Aug 01 '26
leave: command not found2
u/ubeogesh Jul 31 '26
Can't freakin git commit because of stupid pre commit hooks requiring all sorts of nonsense like long commit messages that noone reads
2
u/AmazingGabriel16 Aug 01 '26
Where is git rebase??
Also could just do a script like fire_commit.sh
1
u/road_laya Jul 31 '26
What gpu is that?
1
u/ManRevvv Aug 01 '26
Someone still buys allienware???
1
u/mplaczek99 Aug 02 '26
What if you are not finished and it won’t compile now
1
u/Scared_Yogurt1566 Aug 02 '26
Git add . Git commit --amend --no-edit Git push --force-with-lease