If all local changes can be discarded you can simply run
git checkout. to do so. After that you can run git pull or similar commands to pull. To ignore certain files (that are not in the commits already) you can add filenames/directories to .gitignore.
Comments
Post a Comment