I've just published a reference for anyone using git while trans, explaining how to hide or remove your deadname in git repositories

Please share ❤️

https://code.curly.kiwi/2026/02/27/using-git-while-trans/

Using git while trans | Brooke's code blog

A guide for hiding or removing your deadname in git repositories.

@nerdnz Was assuming there was going to be commit-rewriting: would that change all of your commit-history's dates? How well would this work for a repository you didn't own (or otherwise has branch- or similar "protection" enabled)?

While I'm not trans, seeing solutions like this always makes curious on details, N-order effects, etc..

@ferricoxide The history rewriting approach I've mentioned doesn't change commit dates - I wanted to make sure I found something that preserved as much metadata as possible

Rewriting the history like that is unlikely to be viable on work projects or open source ones with lots of collaborators, but it is a good option to know about for things like personal projects

@nerdnz

Meant commit IDs. I've seen attempts at removing committer information from projects end up re-IDing everything. Thus my curiosity.

I've been lucky enough that I've generally been able to not use name-based emails for public projects.
@ferricoxide Yeah rewriting history in _any_ way means the old commits are gone and replaced with fresh new ones. Commit metadata like author name is used for generating commit hashes so there's no way to modify it without reconstructing a brand new commit. But it is possible to do that in a way that preserves the commit date part of the metadata