When I delete a file by going to the folder my self and deleting it manually (not with git command line interface), git doesn’t see that a file is deleted when I perform “add .” or “commit -m”.
How can I get it to see, after deleting a file, that a file is removed and it shall delete it from the deployment server during a push?
Use
git rm path/to/fileto explicitly tell git it’s removed, orgit add -A .to make git pick up files having been removed from the workspace as well as added/modified.