[pygr-notify] [pygr commit] r108 - wiki

codesite-noreply at google.com codesite-noreply at google.com
Tue Oct 21 12:19:12 PDT 2008


Author: cjlee112
Date: Tue Oct 21 12:18:29 2008
New Revision: 108

Modified:
    wiki/UsingGit.wiki

Log:
Edited wiki page through web user interface.

Modified: wiki/UsingGit.wiki
==============================================================================
--- wiki/UsingGit.wiki	(original)
+++ wiki/UsingGit.wiki	Tue Oct 21 12:18:29 2008
@@ -58,6 +58,18 @@
  }}}
  Substitute the name of the branch you want for "master".

+=== Go back to an old version ===
+{{{
+git checkout 1a413b3
+}}}
+You can use the first few digits of a commit ID, or a tag name.  This jumps
+you back to that specific commit, which can be very useful for testing  
purposes.
+Note that this puts you in effect on an "unnamed branch" whose HEAD is at  
the
+commit you specified.  To go back to the current HEAD of your master  
branch just
+{{{
+git checkout master
+}}}
+
  === See the current state of any edits you may have made, but not yet  
committed ===
  {{{
  git status



More information about the pygr-notify mailing list