Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 15th, 2012  |  syntax: None  |  size: 0.23 KB  |  hits: 17  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Delete a commit from github [closed]
  2. git reset --hard <sha-commit-name-to-go-back-to>
  3. git push -f origin HEAD^:master
  4.        
  5. git add <file I changed>
  6. git commit
  7. git log
  8.        
  9. git push
  10.        
  11. git rebase -i HEAD~2
  12.  
  13. git push origin +master