Okay, so I was searching "How to Remove Manually Deleted files from Git" without actually doing git rm file.txt
for each file when I came across "Removing multiple files from a Git repo that have already been deleted from disk".
The two most Up-Voted commands were:
git add -u
git add -A
Although both of them worked for me, I still can't understand the difference and the solutions on the page don't explain it either. My questions are, how are they differ from each other, and what other git commands can be used to remove files that have been deleted manually from the disk?