git त्यागने स्थानीय परिवर्तन
# Discarding local changes (permanently) to a file:
git checkout -- <file>
# Discard all local changes to all files permanently:
git reset --hard
पूर्ववत unstaged परिवर्तन git
git checkout -- .
git रीसेट एक फ़ाइल
git checkout HEAD -- my-file.txt
git त्यागने unstaged फ़ाइलें
git stash save --keep-index --include-untracked
git सभी परिवर्तनों को पूर्ववत
git reset --hard
निकालें स्थानीय परिवर्तन git
git fetch # will fetch the latest changes on the remote
git reset --hard origin/master # will set your local branch to match the representation of the remote just pulled down.