Allow customization of git clone command
teddy-codes opened this issue · comments
I have 2FA on, which requires ssh keys. I have this setup within my sshconfig. Is there any way that we would change this to put a structured string like so: git clone github:%v
in the ~/.config/sail/sail.toml
file? Of course, the %v
would be replaced with the repo that is being run.
By default sail clones via ssh, so if you were to run sail run cdr/sail
, it will expand the clone command to:
git clone ssh://git@github.com/cdr/sail.git
For me, it needs to be ssh://github:cdr/sshcode
of course, I can simply change it but just thought that customization of the command would be good (so I did not have to).
I changed it. I still think that it is good for non-github users for example. re: #128
Edit:
Will move conversation there.
This is already configurable via the default_host
key in the config