fatal: remote error: Permission denied

Asked by Test

Hello. I have a git repo, imported from github, then I cloned the repo locally, change some files and can not push it back due to the error:

[root@myvm hello]# git remote -v
origin git+ssh://<email address hidden>/~power123/ppp/+git/hello (fetch)
origin git+ssh://<email address hidden>/~power123/ppp/+git/hello (push)

[root@myvm hello]# git push -v
Pushing to git+ssh://git.launchpad.net/~power123/ppp/+git/hello
fatal: remote error: Permission denied.

How can i fix it?

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Test
Solved:
Last query:
Last reply:
Revision history for this message
Colin Watson (cjwatson) said :
#1

You can't push directly to a repository that's set up as a code import, because if we allowed you to do that then the import would just wipe out your changes.

Can you zoom out a bit and explain why you're trying to do this?

Revision history for this message
Test (power123) said :
#2

I did not know about it. Thank you.