7 ms·
What does that do, add already tracked files only?
by eterm 12d ago
What does that do, add already tracked files only?
- jdpage 12d agoIt interactively shows you each change that would be added and lets you decide whether it should be staged or not. Down to the hunk level, so you can partially stage a file if you so choose.
- eterm 11d agoOh, that's neat. The -p presumably stands for pInteractive with a silent p :)
- airstrike 11d agoLOL it might stand for "prompt before"
- oarmstrong 11d agoHa! It’s actually patch (as in select parts of the patch) though I remember it as partial.
- dxdm 11d agoThere's -i for interactive, lets you add, patch and reset (unstage).
- zelphirkalt 11d agoAh, that's what magit does by default.
- matijs 11d agoThat would be `git add -u/--update`