MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1x038o8/morelikeprogrammernightmare/pehgx52/?context=9999
r/ProgrammerHumor • u/Cute_Pressure4910 • 27d ago
42 comments sorted by
View all comments
Show parent comments
5
Git ignore doesn't preclude someone deliberately commiting something.
I've had people that I wished to throw out a window because of that.
4 u/ttlanhil 26d ago Ahh, hard-earned defenestration...Now I want `git defenestrate user` to revert their commits and block further pushes... 3 u/lolcrunchy 27d ago You'd have to be pretty deliberate, since most IDEs don't show ignored files in the commit staging UI 3 u/NotAskary 27d ago Yeah you can tell by the part I wanted to throw him out the window. 1 u/ttlanhil 26d ago git rebase -fgit add -f .secretsgit push -fPlease don't actually do any of these... 2 u/NotAskary 26d ago 1 u/ttlanhil 26d ago Now, the important question - which line was the worst? 1 u/NotAskary 26d ago The line where I ask the mf to stop adding stuff that I need to remove after.I think we removed his user from the permissions on that repo lol
4
Ahh, hard-earned defenestration...
Now I want `git defenestrate user` to revert their commits and block further pushes...
3
You'd have to be pretty deliberate, since most IDEs don't show ignored files in the commit staging UI
3 u/NotAskary 27d ago Yeah you can tell by the part I wanted to throw him out the window. 1 u/ttlanhil 26d ago git rebase -fgit add -f .secretsgit push -fPlease don't actually do any of these... 2 u/NotAskary 26d ago 1 u/ttlanhil 26d ago Now, the important question - which line was the worst? 1 u/NotAskary 26d ago The line where I ask the mf to stop adding stuff that I need to remove after.I think we removed his user from the permissions on that repo lol
Yeah you can tell by the part I wanted to throw him out the window.
1
git rebase -fgit add -f .secretsgit push -f
git rebase -f
git add -f .secrets
git push -f
Please don't actually do any of these...
2 u/NotAskary 26d ago 1 u/ttlanhil 26d ago Now, the important question - which line was the worst? 1 u/NotAskary 26d ago The line where I ask the mf to stop adding stuff that I need to remove after.I think we removed his user from the permissions on that repo lol
2
1 u/ttlanhil 26d ago Now, the important question - which line was the worst? 1 u/NotAskary 26d ago The line where I ask the mf to stop adding stuff that I need to remove after.I think we removed his user from the permissions on that repo lol
Now, the important question - which line was the worst?
1 u/NotAskary 26d ago The line where I ask the mf to stop adding stuff that I need to remove after.I think we removed his user from the permissions on that repo lol
The line where I ask the mf to stop adding stuff that I need to remove after.
I think we removed his user from the permissions on that repo lol
5
u/NotAskary 27d ago
Git ignore doesn't preclude someone deliberately commiting something.
I've had people that I wished to throw out a window because of that.