Penguin
Diff: KernelDevelopmentWithGit
EditPageHistoryDiffInfoLikePages

Differences between version 19 and predecessor to the previous major change of KernelDevelopmentWithGit.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 19 Last edited on Friday, December 1, 2006 8:37:18 am by IanMcDonald Revert
Older page: version 18 Last edited on Thursday, November 30, 2006 12:35:02 pm by IanMcDonald Revert
@@ -107,12 +107,14 @@
 where COPY_HEAD is your copy of HEAD.... 
  
 However check the contents of the HEAD file as sometimes it's just a reference such as <tt>ref: refs/head/master</tt> in which case make a copy of that file which is being pointed to. 
  
-In theory you can do this also by typing: 
+You can do this also by typing: 
 <verbatim> 
-git checkout master 
+git bisect reset master  
+git reset --hard FETCH_HEAD  
 </verbatim> 
+providing you want to go back to the last time you synced up.  
  
 !Working with branches 
  
 A key feature of git is to maintain branches of code. For example you might keep Linus' code and your own in separate branches.