I am looking for a better description of staging files with git itself (other than
Git big commit best practices).
I don’t need to stash files into smaller commits, ignore files by pattern, etc.
What I am looking for is a tutorial that is only about adding files – efficient by browsing through big packs (up to 100) of “unstaged” files and maybe editing them (as hunks).
Command line tricks with pipeline filtering like in
git status -uno --porcelain | gawk '{ print $2 }' | xargs echo | xargs git add
are offtopic.
Bottom line: I am looking for tips to “master” interactive mode and patterns in staging with
git add
Why is
not good enough?
There is also git-gui
Hope this helps