On Mon, Oct 9, 2017 at 7:15 AM, Sascha Manns <sascha.ma...@mailbox.org> wrote:
> Hello list, > > i have created a new project witch based on git [1]. Also i read the > manual [2]. I want to add new repositories, what contains all packaging > stuff and documentation. > > I have tried: > sascha@sascha-desktop:~/RubymineProjects/youtube_dlhelper-packaging$ > git remote add origin lp:~sascha-manns- > h/youtube_dlhelper/+git/packaging > sascha@sascha-desktop:~/RubymineProjects/youtube_dlhelper-packaging$ > 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. Edit your ~/.gitconfig and add this: [url "git+ssh://git.launchpad.net/"] insteadof = lp: If your computer's username is not the same as your launchpad ID, add these instead: [url "git+ssh://<your-launchpad-id>@git.launchpad.net/"] insteadof = lp: [url "git+ssh://<your-launchpad-id>@git.launchpad.net/"] insteadof = git+ssh://git.launchpad.net/ > > Also: > sascha@sascha-desktop:~/RubymineProjects/youtube_dlhelper-packaging$ > git remote add origin https://code.launchpad.net/~sascha-manns-h/youtub > e_dlhelper/+git/packaging > > And: > sascha@sascha-desktop:~/RubymineProjects/youtube_dlhelper-packaging$ > LANG=C git push origin master > error: src refspec master does not match any. > error: failed to push some refs to 'https://code.launchpad.net/~sascha- > manns-h/youtube_dlhelper/+git/packaging' > This is because you should be using the `git.launchpad.net` URL instead of the `code.launchpad.net` URL. Hope this helps! -- Pierre Equoy QA Engineer | Canonical Ltd. www.canonical.com | www.ubuntu.com
_______________________________________________ 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