Is there a way to do a git pull that ignores any local file changes without blowing the directory away and having to perform a git clone?
git pull
git clone
.gitignore
"Adding unwanted files to .gitignore works as long as you have not initially committed them to any branch. "
Also you can run:
git update-index --assume-unchanged filename
https://chamindac.blogspot.com/2017/07/ignoring-visual-studio-2017-created.html