We are using git for version control and right now we are getting a lot of warnings when trying to upload the most recent version. I am new to git and don\'t have patience for t
If you want to permanently delete the files from the remote repository and in retrospect as if they weren't pushed in the first place to start fresh, then base on this answer you could do the following
Run the following locally (Notice the *
deletes every folder/file):
git filter-branch -f --index-filter "git rm -rf --cached --ignore-unmatch *" -- --all
Now it's time to update git references locally to enforce it to forget all the history it had of those files
rm -rf .git/refs/original/
git reflog expire --expire=now --all
git gc --prune=now
git gc --aggressive --prune=now
Now push all the changes to the remote repository with a FORCE to ensure the remote repo also clears all those files
git push --all --force
This would clean up the remote repository as if no file ever existed.