Joined March 2012
·
Posted to
Undo 'git commit' without removing files
over 1 year
ago
Great tip, thanks!
Achievements
76 Karma
2,028 Total ProTip Views
Charity
Fork and commit to someone's open source project in need
Cub
Have at least one original jQuery or Prototype open source repo
Bear
Have at least one original repo where Objective-C is the dominant language
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Mongoose
Have at least one original repo where Ruby is the dominant language
@michd I knew about --hard but didn't know that it undoes staged changes. Thanks for the tip man!