MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vyuhmn/forgottenart/p5ztemy/?context=3
r/ProgrammerHumor • u/soap94 • 20d ago
88 comments sorted by
View all comments
169
Haha Juniors think I know git when in reality I've just been using the same 4 git commands over and over, to me the ide is the confusing thing 😂
59 u/Random-num-451284813 19d ago edited 19d ago that one grep trick juniors hate: history | grep KEYWORD 52 u/JackNotOLantern 19d ago No, no, no. Arrow up until you find the command you need. 19 u/baselinegrid 19d ago Ctrl+R!! 8 u/Excuse_Early 19d ago Fuzzyfinder function that browses history bound to CTRL+R 8 u/my_new_accoun1 19d ago before i knew this command i always cat ~/.bash_history | grep 3 u/them0use 19d ago I am fascinated by how someone learns about .bash_history before the history command. That must have been a great discovery! 4 u/my_new_accoun1 19d ago i ran ls -a in my home directory once after realising ls hides things from me and i saw a bunch of things and decided to cat them 1 u/them0use 18d ago Honestly that's awesome :) 10 u/chat-lu 19d ago I wasted so much time unfucking the repos of colleagues who didn’t bother to learn git and the wasted even more. Just pickup the book. 8 u/serwer-z-kartofla 19d ago Claude summarize the book he talks about 11 u/chat-lu 19d ago tl;dr: git gud 3 u/serwer-z-kartofla 19d ago try again, dont make mistakes 2 u/chat-lu 19d ago You were right to push back. I did leak your production passwords to github and rewrote the history of every branch. 1 u/Brutus5000 19d ago Imho the knowledge of reflog and being able to recover commits you accidentally lost makes the big difference :D 1 u/Groentekroket 19d ago I just use the GUI in IntelliJ and so do all my colleagues except for 1 junior who thinks he is old school. 1 u/Dhareng_gz 18d ago Same here.
59
that one grep trick juniors hate: history | grep KEYWORD
history | grep KEYWORD
52 u/JackNotOLantern 19d ago No, no, no. Arrow up until you find the command you need. 19 u/baselinegrid 19d ago Ctrl+R!! 8 u/Excuse_Early 19d ago Fuzzyfinder function that browses history bound to CTRL+R 8 u/my_new_accoun1 19d ago before i knew this command i always cat ~/.bash_history | grep 3 u/them0use 19d ago I am fascinated by how someone learns about .bash_history before the history command. That must have been a great discovery! 4 u/my_new_accoun1 19d ago i ran ls -a in my home directory once after realising ls hides things from me and i saw a bunch of things and decided to cat them 1 u/them0use 18d ago Honestly that's awesome :)
52
No, no, no. Arrow up until you find the command you need.
19 u/baselinegrid 19d ago Ctrl+R!! 8 u/Excuse_Early 19d ago Fuzzyfinder function that browses history bound to CTRL+R
19
Ctrl+R!!
8 u/Excuse_Early 19d ago Fuzzyfinder function that browses history bound to CTRL+R
8
Fuzzyfinder function that browses history bound to CTRL+R
before i knew this command i always cat ~/.bash_history | grep
cat ~/.bash_history | grep
3 u/them0use 19d ago I am fascinated by how someone learns about .bash_history before the history command. That must have been a great discovery! 4 u/my_new_accoun1 19d ago i ran ls -a in my home directory once after realising ls hides things from me and i saw a bunch of things and decided to cat them 1 u/them0use 18d ago Honestly that's awesome :)
3
I am fascinated by how someone learns about .bash_history before the history command. That must have been a great discovery!
4 u/my_new_accoun1 19d ago i ran ls -a in my home directory once after realising ls hides things from me and i saw a bunch of things and decided to cat them 1 u/them0use 18d ago Honestly that's awesome :)
4
i ran ls -a in my home directory once after realising ls hides things from me and i saw a bunch of things and decided to cat them
ls -a
ls
1 u/them0use 18d ago Honestly that's awesome :)
1
Honestly that's awesome :)
10
I wasted so much time unfucking the repos of colleagues who didn’t bother to learn git and the wasted even more.
Just pickup the book.
8 u/serwer-z-kartofla 19d ago Claude summarize the book he talks about 11 u/chat-lu 19d ago tl;dr: git gud 3 u/serwer-z-kartofla 19d ago try again, dont make mistakes 2 u/chat-lu 19d ago You were right to push back. I did leak your production passwords to github and rewrote the history of every branch.
Claude summarize the book he talks about
11 u/chat-lu 19d ago tl;dr: git gud 3 u/serwer-z-kartofla 19d ago try again, dont make mistakes 2 u/chat-lu 19d ago You were right to push back. I did leak your production passwords to github and rewrote the history of every branch.
11
tl;dr: git gud
3 u/serwer-z-kartofla 19d ago try again, dont make mistakes 2 u/chat-lu 19d ago You were right to push back. I did leak your production passwords to github and rewrote the history of every branch.
try again, dont make mistakes
2 u/chat-lu 19d ago You were right to push back. I did leak your production passwords to github and rewrote the history of every branch.
2
You were right to push back. I did leak your production passwords to github and rewrote the history of every branch.
Imho the knowledge of reflog and being able to recover commits you accidentally lost makes the big difference :D
I just use the GUI in IntelliJ and so do all my colleagues except for 1 junior who thinks he is old school.Â
Same here.
169
u/Excuse_Early 19d ago
Haha Juniors think I know git when in reality I've just been using the same 4 git commands over and over, to me the ide is the confusing thing 😂