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