Is there a single command that automatically regenerates a git repository?
I want to not just automatically add and update files that I've manually created or updated in my file system (as would git add .), but also to automatically delete files from the repository that I've manually removed from the app in my file system (something like git add_or_delete .).
I'm tempted to try a new git init but I've avoided this so far in case it has unexpected side-effects.
For troubleshooting purposes, I need the command to not just scan my file system for changes to apply, but to actually build the repository again from the version of the app in my filesystem.