code_junkie

Rolling back in Git

Nov 11th, 2011
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.09 KB | None | 0 0
  1. git checkout A2 -- .
  2. git commit -m 'going back to A2'
  3.  
  4. git-revert
  5.  
  6. git-revert
Add Comment
Please, Sign In to add comment