Open khitermedachraf opened 5 years ago
"git add ." only stages new and modified files, while "git add -A" stages deletions too. So I would replace it by always using "git add -A"
In most shells, git add *
doesn't take "dot-files" into account, i.e. a .gitignore
-file.
so (git add *) does not exist (git add .) =(git add -A) it means : stage all ( new , modified , deleted ) files