
Want more great content like this? visit: https://blog.alec.coffee
You should care about how clean your Git history is. It provides a way to com...
For further actions, you may consider blocking this person and/or reporting abuse
great article
in case your changes are patches and not files, another good trick is
A good example would be if you added some experimental methods in 3 different files, and you want to control which commits those changes get applied to.
Finally, it's important to remember your
reflog
that keeps tracks of the history of all refs (e.g. "master" and all branches are refs). That way you can easily reset to a ref from a few days ago in case you forget which commit was kosher.
Another two fantastic under-rated commands.
This is exactly what I have needed on several occasions, thanks for sharing! Also the clips were very handy in seeing what's going on - I just wish I could start them when I'm ready and play/pause/rewind.
What's doing the autocomplete preview? I need that in my life. 😍
Thanks for the feedback! I am super happy at least one person found this handy ❤️
I use the Fish shell which has context-aware auto-complete based on your historical data 🐟
Check out the --fixup commit.
My old git processes
Jesse Phillips
Yeah, OP, checkout --fixup. It does what you describe in this post more conveniently
I'll check this out!
Nice, thanks for sharing. This rebase technique I have never seen before.