Inconsistant Repository URL

A new repository URL is stated differently on the same web page. On the top of the page, it is stated as something like “http://xx.xxx.xx.xxx/me/my-project.git”, which is correct. In the rest of the page, it is stated as “git@localhost:me/my-project.git”, however.

touch README.md
git init

git add README.md
git commit -m "first commit"
git remote add origin git@localhost:me/my-project.git
git push -u origin master

and

git remote add origin git@localhost:me/my-project.git
git push -u origin master

I guess the “localhost” comes from the docker deployment. Is it a bug or something we don’t do properly?

Hi,

This has probably to do with your configuration in app.ini.
Check your ROOT_URL and (SSH_)DOMAIN variables in the [server] section.

Thanks for the info. We will take a note on the matter.