Re:Magit, the magical Git interface (2017)
by rich_sasha on Friday October 22, 2021 @11:25AM
(#28958414)
I probably pushed and pulled O(100) remote branches over the past decade (jeepers I'm getting old), so roughly once a month. It's not that rare, yet I still haven't memorised them, because I find them so unintuitive.
Re:Magit, the magical Git interface (2017)
by spaetzleesser on Friday October 22, 2021 @06:12PM
(#28963410)
Once a month is close to my usage and it's often enough to remember things in principle but not often enough to remember the d#$%#$%^#$n syntax with all its obscure details.
Re:Magit, the magical Git interface (2017)
by clojureyoureyes on Saturday October 23, 2021 @07:10AM
(#28967360)
> Yeah, git is certainly a low level tool.
> I too google the commands I don't use often.
So, spend more time getting the same result is fine for you?
Re:Magit, the magical Git interface (2017)
by matheusmoreira on Saturday October 23, 2021 @07:20AM
(#28967405)
Depends on the result. I do interactive rebases extremely often, I don't have to look up how it works.
Sometimes I have to use some command I'm not familiar with. Sometimes familiar commands gain new options. It's perfectly okay to use some reference for that. Also, "more time" is like 1 minute.
I think the problem with add, commit and reset is they aren't low level enough. The reset command in particular is juggling several concepts at once: HEAD, the index and the working tree. The add and commit commands work with fewer concepts: working tree to index and index to commit, respectively.
I too google the commands I don't use often. There's no shame in that.