A collection of useful hacks, tips, and tricks mostly for GNU tools on Linux/macOS.
git reset --soft HEAD~1 // to soft reset (preserve changes) git reset HEAD /files/you/wish/to/unstage
git commit git checkout /files/you/wish/to/checkout
Post a Comment
No comments:
Post a Comment