Download raw body.
git config: url insteadOf
Hi there, I use the git config option url.<base>.insteadOf to be able to do things like "git clone gh:repo" instead of "git clone git@github.com:org/repo". The remotes are then spelled thusly in the .git/config file's remote section, i.e. url = gh:repo. A "got fetch" in the Git checkout or a Got worktree then fails with "Could not resolve hostname gh" because Got doesn't know about insteadOf. I haven't spent the required time in the code to be able to propose a patch, and the privsep architecture makes it feel a little bit daunting, beyond having to rely on entirely pattern-matching-based level of C knowledge. Supporting insteadOf anywhere a URL is accepted in Got's UI might be too much even if supporting it when parsing remotes is added. Got currently appears to support a very limited subset of git config, and this is a somewhat random knob to ask for support for. So for now consider this just a friendly mention of a case where Got doesn't work right with an otherwise-ordinary Git repository. Also public cheers to Thomas for the macOS porting work on -portable! Evan Silberman
git config: url insteadOf