Git: avoid reset --hard, use reset --keep instead
Git: avoid reset --hard, use reset --keep instead
adamj.eu Git: avoid reset --hard, use reset --keep instead - Adam Johnson
When I started learning Git, I found many references covering two ways to undo commits with git reset:
You're viewing a single thread.
View all comments
8
comments
This is great advice. I did not know that '--keep' was an option, and have offen done rather lengthy work arounds to achieve this.
7 0 Reply
You've viewed 8 comments.
Scroll to top