Skip to content

Instantly share code, notes, and snippets.

@lvrach
Created July 10, 2015 18:32
Show Gist options
  • Select an option

  • Save lvrach/60ee0f0535f5666552d8 to your computer and use it in GitHub Desktop.

Select an option

Save lvrach/60ee0f0535f5666552d8 to your computer and use it in GitHub Desktop.

Revisions

  1. lvrach created this gist Jul 10, 2015.
    3 changes: 3 additions & 0 deletions gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    gco master
    git log | less #find the [sha] of merge you want to revert
    git revert -m 1 [sha]