What’s the difference between “git add -u” and “git add -A”?
Brief Answer: git add -A is equal to git add . + git add -u Explanation: When you do a “git add .“, it adds all files (existing, modified and new) to the staging area but it does not remove files that have been deleted from the disk. “git add -u” only adds currently tracked …