Post A6CHE0rGfzfIReVB2m by bfiedler@mastodon.3fx.ch
(DIR) More posts by bfiedler@mastodon.3fx.ch
(DIR) Post #A6AuKHMTjnz1GN9wg4 by fribbledom@mastodon.social
2021-04-12T15:54:02Z
2 likes, 0 repeats
I've been using git for more than 10 years and I'm still learning new git features all the time.Today: interactive rebase lets you reword a commit message rather conveniently.
(DIR) Post #A6AupZl1OOKTIHYwGu by NickolasGir@paypig.org
2021-04-12T16:00:59Z
0 likes, 0 repeats
@fribbledom Have you heard of git-bisect?
(DIR) Post #A6AvWIeCslrqgFkOvI by fribbledom@mastodon.social
2021-04-12T16:08:42Z
0 likes, 0 repeats
@NickolasGir Sure, long time fan 😄
(DIR) Post #A6AxZIwuPvQ8OR3WG8 by dmoonfire@octodon.social
2021-04-12T16:28:47Z
1 likes, 0 repeats
@fribbledom That same feature lets you reorder commits and merge them together. It's awesome.
(DIR) Post #A6CHE0rGfzfIReVB2m by bfiedler@mastodon.3fx.ch
2021-04-13T05:53:29Z
0 likes, 0 repeats
@fribbledom what i'm not really clear on is why git interactive rebasing doesn't allow implicit renaming by renaming the commits on the overview. Sure, for large edits I might want to view the changes again, but fixing typos or similar would be much easier that way.
(DIR) Post #A6CHE1SURbRIJ5uu3s by reto@pleroma.labrat.space
2021-04-13T07:46:35.226746Z
0 likes, 0 repeats
@bfiedler @fribbledom that's assuming that you only have a single line commit message though...The commit message is the full thing though and you probably need to fix it all up, not just the first line
(DIR) Post #A6CIf1SycgWm6WaCuW by bfiedler@mastodon.3fx.ch
2021-04-13T07:51:37Z
0 likes, 0 repeats
@reto @fribbledom Ah I hadn't thought of that. Yeah in that case it makes sense that it doesn't work. It still feels like it should work for one-line messages to me -- it's a "damned if you do, damned if you don't" situation...
(DIR) Post #A6CIf1uywYvfVNgZYu by reto@pleroma.labrat.space
2021-04-13T08:02:42.253336Z
0 likes, 0 repeats
@bfiedler @fribbledom indeed. Although if you just mark it as "reword" it'll just spawn editor after editor without you having to mess with anything else, so it isn't a huge thing my opinion.