Hello Pierre,

Am Montag, den 09.10.2017, 09:14 +0800 schrieb Pierre Equoy:
> On Mon, Oct 9, 2017 at 7:15 AM, Sascha Manns
> <sascha.ma...@mailbox.org> wrote:
> > git push origin master
> > ssh: Could not resolve hostname lp: Name or service not known
> 
> This is because by default, git doesn't know what "lp:" stands for.
I've added this .gitconfig:
[url "git+ssh://sascha-mann...@git.launchpad.net/"]
        insteadof = lp:
[url "git+ssh://sascha-mann...@git.launchpad.net/"]
        insteadof = git+ssh://git.launchpad.net/

I've tried:
1.) git init
2.) git remote add origin lp:youtube-dlhelper/+git/packaging
3.) git add test
4.) git commit -m "Test"
5.) git push --set-upstream origin master

The result:
LANG=C git push --set-upstream origin master
ssh: Could not resolve hostname lp: Name or service not known
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository
exists.

This is clear, because it should be a new repository.

To clarify: I already have one main repository: https://code.launchpad.
net/~youtube-dlhelper/youtube-dlhelper/+git/youtube-dlhelper

The new one should be a additional one.

Greetings
Sascha



_______________________________________________
Mailing list: https://launchpad.net/~launchpad-users
Post to     : launchpad-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~launchpad-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to