How to `git pull` while ignoring local changes?
If you mean you want the pull to overwrite local changes, doing the merge as if the working tree were clean, well, clean the working tree: git reset –hard git pull If there are untracked local files you could use git clean to remove them. git clean -f to remove untracked files -df to remove … Read more