Re:Git-SIM: Visually simulate Git operations in your own rep...
by bornfreddy on Sunday January 22, 2023 @03:06PM
(#34481673)
Except, if you rebase, your tags get "lost" (not really, but they still point to the same old commit unless explicitly changed). Log is your friend, and making sure that the commits make sense (they do a single well-defined thing) helps a lot, because you always know which commit does what. But yes, that means using `git commit --fixup <commit id> && git -i --autosquash <commit id>^1` frequently to fix existing (older) commits instead of making new trivial ones.
[ Parent
| on HN ]
[dead]
Re:Git-SIM: Visually simulate Git operations in your own rep...
by chrisdirkis on Sunday January 22, 2023 @07:43PM
(#34484043)
I guess that's the parent's annoyance. It'd be nice to be able to use something like tags or labels for other things than releases, but since they're commit referents, they're pretty much only useful for releases and nothing else.
Re:Git-SIM: Visually simulate Git operations in your own rep...
by bornfreddy on Tuesday January 24, 2023 @01:10PM
(#34507496)
I was responding to GPs idea to "name" commits with tags, so you've taken my comment out of context.