Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
git add . - will add only new and changed ones, but will not exclude deleted ones
git add -A (git add --all) - will add both new and changed ones, and exclude deleted ones
git add . – adding (indexing) new and changed files, without deleted files. Appends all changes to the files in the current directory and its subdirectories.
git add -u - adding (indexing) changed and deleted files, without new files.
git add -A - adding (indexing) all files: new, changed and deleted.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question