by JohnMakin · 3y ago · 0 comments
People over complicate it - In 5 years now as a full time SWE I barely ever use commands other than the basic ones - git pull, git commit, git add/remove, git push, git merge.
Occasionally annoying conflicts happen on merge that you can eyeball and fix fairly trivially.
I routinely use checkout / switch, rebase, diff, cherry-pick, stash, revert, git status (on CLI). They are very useful. I don't know where "5 commands" meme comes from.
I can't think of any other examples of something I use so much where I have this problem. Conversely I had to use the Docker and Heroku CLIs recently, having used neither for probably a year or so, and managed to remember/stumble my way through pretty easily without the need to look up help or external sources.