git रीसेट विशिष्ट फ़ाइल
git checkout c5f567 -- file1/to/restore file2/to/restore
git रीसेट एक फ़ाइल
git checkout HEAD -- my-file.txt
मैं किसी विशिष्ट संशोधन के लिए फ़ाइल को रीसेट या वापस कैसे कर सकता हूं?
git reset <commit hash> <filename>
git वापस एक फ़ाइल
git checkout HEAD -- /directory/my-file.txt
वापस लौटने unstaged परिवर्तन git
git checkout -- .
एकल फ़ाइल के लिए गिट रिवर्ट कमिट
git checkout <commit_hash> path/to/file