@gravitystorm@m.gravitystorm.co.uk
Post #4489770
2026-07-09 13:02 UTC
Some git things that I've learned in the last 3 months, having used git for over 17 years 😆 :
`git commit --amend` - with staged changes. Instead of running `git rebase -i HEAD~2`. Found this by accident.
`git branch --merged` - lists merged branches that are ready to be deleted.
`git worktree` - I think I'd heard of these before, but I've started using them for real. Very useful for some of our Thunderforest stylesheets when variations (e.g. dark mode) live on long-lived branches.
Replies (0)
No replies.