I removed a few files from my git repo and now, upon status see
# Changes not staged for commit:
# ...
# deleted: project/war/favicon.ico
# deleted: project/war/index.html
Usually, i would stage them by issuing git add .
command, but doing so does not affect git status. Files are still not staged for commit.
Now .. i know i can git rm file
to take care of this.
The question is ... can i modify git add .
somehow to also stage deleted files as well? I thought add "." takes care of everything (deleted files included)