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.
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
8 comments
Scroll to top