Is there a command like "git add ." but for git rm? -
Is there a command like "git add ." but for git rm? -
in git, whenever need stage files can use
git add together .
to add together files have modified since lastly commit. when remove 1 file have remove 1 1 doing
git rm 'filename'
and git rm .
deletes beingness tracked git.
i wondering if there command similar git add together .
git rm
.
thanks :)
edit:
i think didn't explain myself correctly. lets have files in git directory beingness tracked git , lets phone call them file1
, file2
, file3
. if remove (rm command) file1
, file3
git status
tell me files deleted , execute git rm "filename"
update committed. question is, there way add together removing action of both files 1 single command?
if modify/add different files run git add together .
, modifications/additions added staging area committed.
use git add together -u
/git add together --update
or git add together -a
/git add together --all
. former stage modified , deleted files while latter stages new (untracked) files.
git
Comments
Post a Comment