4 ms·
What does that do, add already tracked files only?
by eterm 21d ago
What does that do, add already tracked files only?
- jdpage 21d 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 21d agoOh, that's neat. The -p presumably stands for pInteractive with a silent p :)
- airstrike 21d agoLOL it might stand for "prompt before"
- oarmstrong 21d agoHa! It’s actually patch (as in select parts of the patch) though I remember it as partial.
- dxdm 21d agoThere's -i for interactive, lets you add, patch and reset (unstage).
- zelphirkalt 21d agoAh, that's what magit does by default.
- matijs 21d agoThat would be `git add -u/--update`