how to force pull git a particular branch code example
Example 1: force pull git
# WARNING: this can't be undone!
git reset --hard HEAD
git clean -f -d
git pull
Example 2: force pull git
git reset --hard HEAD
git pull
# WARNING: this can't be undone!
git reset --hard HEAD
git clean -f -d
git pull
git reset --hard HEAD
git pull