Or am I missing some quite important? I've been using this for most of the stuff that I do in github and it seemed to be enough.
I use these on my Chromebook, but on my stationary computer I just use the integration in VS Code.
Or am I missing some quite important? I've been using this for most of the stuff that I do in github and it seemed to be enough.
I use these on my Chromebook, but on my stationary computer I just use the integration in VS Code.
I feel like you are. The operations you mentioned - clone, pull, “commit -a”, and push - are trivial. Nobody needs a nice UI for those.
But in real day-to-day use, I’m branching, merging, creating and applying stashes, cherry picking, rebasing, browsing the repo history, browsing specific file histories, diffing across branches, selectively committing specific changes in a file, etc. and it’s convenient to have a nice UI for the more advanced use cases.
git status
git diff HEAD
git add (usually -u)
git commit
I catch so many mistakes checking the diff before committing. Just seeing the code in a different context helps things pop up.Speaking as to "why would you not just use command line git, or VSCode integration".
Two aspects: Speed, and discoverability.
These are two things that magit massively improves upon the command line.
e.g. to make the commit, in magit, it's the key sequence "<Spc> g g" (to open magit) then "c c" to commit. (Being able to quickly do this from the same place you edit code is very convenient).
In terms of discoverability, magit shows me the common options for commands (e.g. it shows `-a autostash` for git pull), or other commands which might be useful that I've not used (like git worktree).
> gac Update controller
which means “git add all and commit with this message” very rarely do I make a mistake with this. Maybe once every 3 weeks, in which case I just restore the file I accidentally added.