I had a file the way I wanted it and committed it, then changes were made to it and not committed.
There is no remote associated with the repo.
How do I revert the most recent changes that were not committed?
I had a file the way I wanted it and committed it, then changes were made to it and not committed.
There is no remote associated with the repo.
How do I revert the most recent changes that were not committed?
git reset HEAD --hard
or
git checkout -- <file path + name>
git-reset
Reset current HEAD to the specified state