Changes Made
I usually set up my remotes with the URL set to something like codeberg:tpikonen/project.git, where codeberg is an entry in .ssh/config with the full hostname and key etc. Currently fj does not work at all with this kind of URLs, and even setting the host on the command line (with --host) does not help.
The solution is to dig into the SSH config file to resolve the true hostname in order to find the API URL. This MR implements that.
Code of Conduct
- I agree to act in accordance with the CoC & AI Agreement.
- This contribution was not generated by an LLM, even in part.