Get the latest version from a Git repository
If you want to get the latest version from a Git repository and you don't care about any local changes, do the following:
git reset --hard HEAD git clean -f git pull
The above will copy the latest code from the repo and overwrite the local copy.
Comments
Comments powered by Disqus