@darrion.kuhn
If you have accidentally committed files in git and would like to remove them from the commit history, you can do so using the following steps:
Alternatively, if you want to completely remove the accidentally committed files from the commit history, you can use git reset --hard HEAD^
to reset to the previous commit without keeping the changes in your working directory. However, be cautious when using the --hard
option as it will delete all the changes in your working directory.