Hi all, Thank you for your excellent work. I have a feature request, although I admit this might be enough of an edge case that it isn't worth adding support for. I seem to semi-regularly end up renaming my remotes for one reason or another, and then getting stung by muscle memory, existing scripts, or configuration that still refer to the old remote name. I think this could be avoided if Git supported aliases for remote names. For instance, one recurring pattern for me is moving from working with a single repository to a fork-based workflow. I start with one remote, "origin", but after creating a fork on GitHub I rename my remotes to "mine" and "theirs". Unfortunately, my fingers still think in terms of "origin", or I overlook a script that still uses that name somewhere. (I am simplifying here, I am aware I could make other choices for this exact case, this is just meant to illustrate the point.) I'd like to be able to explicitly decide which remote the old name should resolve to, perhaps with a command like: git remote alias origin mine Such that: git fetch origin git push origin main would behave as though I had typed: git fetch mine git push mine main Importantly, I don't want two independently configured remotes with separate remote-tracking branches. I want a single remote with a canonical name and one or more aliases for that name. Ideally, this would also work when referring to remote-tracking branches, such that "origin/main" would resolve to "mine/main" without requiring duplicate refs. Git could optionally issue a diagnostic when an alias is used, perhaps with a configuration option to suppress it. I searched the mailing list archives but couldn't find a previous discussion of this feature. I did, however, find someone independently requesting essentially the same functionality here: https://stackoverflow.com/questions/75151686/is-it-possible-to-make-an-alias-for-a-git-remote-name Is this something that would be considered a reasonable addition to Git? Or is there an existing mechanism for achieving this end result that I've overlooked? Thank you for considering this, cheers, Yves
-- perl -Mre=debug -e "/just|another|perl|hacker/"