I prefer using my Git commandline, feels like I know what I am doing (or if not, I can only blame myself...).
Still, it always feels like git add
-ing files is the least efficient thing to do.
I do not like the -a
option, especially when I really do not mean to add all files. I do like the -i
feature that allows me to add all files just by typing numbers (or just add snippets).
But just adding let's say four files feels like a pain - have to git status
, then copy/paste etc...
Ayn tips? better workflow?
You can add files using globs pattern this is extension of shell but not the git itself.
For example if you have
You can simply do
If you have:
You can then do:
And so on.