Joined February 2014
·
Posted to
Undoing a git add
over 1 year
ago
@excitedubai The only issue is that it targets the repo base directory itself. The above targets one file but that's useful when you want to reset.
I'd add git reset --hard HEAD for that but cleaning is much nicer.
Achievements
128 Karma
12,410 Total ProTip Views
Forked
Have a project valued enough to be forked by someone else
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Charity
Fork and commit to someone's open source project in need
Python
Would you expect anything less? Have at least one original repo where Python is the dominant language
T-Rex 3
Have at least three original repos where C is the dominant language
T-Rex
Have at least one original repo where C is the dominant language
Epidexipteryx
Have at least one original repo where C++ is the dominant language
Don't forget that :