Changes

Line 171: Line 171:  
  git checkout master
 
  git checkout master
 
  git branch -d to-push
 
  git branch -d to-push
 +
 +
=== How do I revert a commit? ====
 +
 +
Again, best to do this on a branch as per [[#How do I amend a commit message?|above]]
 +
 +
Find the commit id and then:
 +
 +
git revert <commit ID>
    
=== As a maintainer, how do I merge a patch? ===
 
=== As a maintainer, how do I merge a patch? ===