notes/util/vcs/git/git-add.txt
Ihar Hancharenka 5dff80e88e first
2023-03-27 16:52:17 +03:00

37 строки
675 B
Plaintext

git add
.
add all the stuff
-i
interactive add
status
update
<num>/-<num>
revert
the opposite of update
add untracked
add untracked files
patch
select file, then
Stage this hunk [y,n,q,a,d,/,s,e,?]?
,j,J,g,
,K,g,
diff
show diff between stating area and repo
quit
help
-p
interactive add with patch mode selected
--update
stage all changes in all tracked files