Jun 172011
Revert uncommitted change in Git
Answer:
To revert the changes of a uncommitted file in Git, you need to use the following command:
# git checkout file
Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.
Revert uncommitted change in Git
Answer:
To revert the changes of a uncommitted file in Git, you need to use the following command:
# git checkout file