author | Shawn O. Pearce <spearce@spearce.org> | |
Fri, 24 Nov 2006 02:40:45 +0000 (21:40 -0500) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Fri, 24 Nov 2006 02:40:45 +0000 (21:40 -0500) | ||
commit | e734817db0af028f2aea356b44c74b7ac51023cd | |
tree | 8d5fc9b6059b3f082bc14873a1ec24d1474f374b | tree | snapshot |
parent | 4c2035d55e0a5c013677a8e83193e37d51000793 | commit | diff |
git-gui: Added revert changes command.
Users sometimes need to be able to throw away locally modified files
in order to go back to the last committed version of that file. To
perform a revert the user must first uninclude each file from the new
commit as the working file must at least partially match the index,
and we use git-checkout-index to update the working directory.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Users sometimes need to be able to throw away locally modified files
in order to go back to the last committed version of that file. To
perform a revert the user must first uninclude each file from the new
commit as the working file must at least partially match the index,
and we use git-checkout-index to update the working directory.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui | diff | blob | history |