What is the git command to blow away all changes since last commit?
Answers
Answered by
10
Answer:
git checkout
Explanation:
In order to blow away all the changes till the last commit, git checkout filename is the command to be used. Hence, git checkout filename is the answer. In order to blow away and start a new fresh, you need to use the command 'git resent Head-1'.
Similar questions