|
|
|
|
|
by psYchotic
1972 days ago
|
|
This may have been semirecently been added to git, but look into [0]:
git add -i
It launches a fairly simple interactive text UI that allows you to select files to stage, and it allows one to "patch" into the staging area, which works by showing you a bunch of hunks, asking for each if you want to stage it (or you can even edit a hunk in your $EDITOR). I'm sure it's not nearly as nice as Magit's UI, but I've been a happy user of this feature for a while. [0]: https://git-scm.com/book/en/v2/Git-Tools-Interactive-Staging |
|