get the latest from remote git 1

get the latest from remote git

git reset --hard HEAD
git clean -xffd
git pull

Here is what the above code is Doing:
1. cd into the directory where the repo is located
2. git reset –hard HEAD
3. git clean -xffd
4. git pull

Similar Posts