Author Topic: Impossible push to git.manjaro.org  (Read 711 times)

0 Members and 1 Guest are viewing this topic.

Offline alextalkerTopic starter

  • Neuling
  • *
  • Posts: 3
  • Crazy man, included Ruby and C progammer....
    • Manjaro Russian Community
  • Kernel: linux3.13.0-1-x86_64
  • Desktop: KDE 4.12.1
  • Branch: stable
  • GPU Card: Intel HD 3000
  • GPU driver: free
  • Skill: Advanced
Impossible push to git.manjaro.org
« on: 13. March 2014, 13:03:20 »
Hello!

I'm impossible push to my repo on git.manjaro.org, ssh key added and not marker read-only.Where problem?

LOG:
[spoiler][alx@manjaro-alx manjaro-user-guide-fix]$ git push origin
warning: push.default is unset; its implicit value is changing in
Git 2.0 from 'matching' to 'simple'. To squelch this message
and maintain the current behavior after the default changes, use:

  git config --global push.default matching

To squelch this message and adopt the new behavior now, use:

  git config --global push.default simple

When push.default is set to 'matching', git will push local branches
to the remote branches that already exist with the same name.

In Git 2.0, Git will default to the more conservative 'simple'
behavior, which only pushes the current branch to the corresponding
remote branch that 'git pull' uses to update the current branch.

See 'git help config' and search for 'push.default' for further information.
(the 'simple' mode was introduced in Git 1.7.11. Use the similar mode
'current' instead of 'simple' if you sometimes use older versions of Git)

git@git.manjaro.org's password:
Permission denied, please try again.
git@git.manjaro.org's password:
Permission denied, please try again.
git@git.manjaro.org's password:
Permission denied (publickey,password).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
[alx@manjaro-alx manjaro-user-guide-fix]$
[/spoiler]

Offline rudylorren

  • Held Mitglied
  • *****
  • Posts: 792
  • Nothin left to do but smile smile smile :)
  • Kernel: linux3.12 lts
  • Desktop: openbox - bspwm
  • Branch: unstable
  • GPU driver: free
  • Skill: Intermediate
Re: Impossible push to git.manjaro.org
« Reply #1 on: 13. March 2014, 15:44:01 »
I think Phil has to give you permission first.  I was having similar issues when creating a new artwork repo. 
The Manjaro Forum Rules
https://forum.manjaro.org/index.php?topic=11253.msg100841#msg100841
May your life be a symphony of freedom.
Do what thou wilt without infringing on anothers right to a peace-full existence.

Offline Rob

  • Core Team
  • *****
  • Posts: 4937
  • Alias: Korrode
  • Kernel: linux314 x64
  • Desktop: Xfce+Compiz
  • Branch: Unstable
  • GPU Card: nVidia GTX560Ti
  • GPU driver: non-free
  • Skill: Advanced
Re: Impossible push to git.manjaro.org
« Reply #2 on: 13. March 2014, 16:27:46 »
post the complete series of commands you used for the initial clone

Offline joshua

  • Core Team
  • *****
  • Posts: 986
  • Standing on the shoulders of giants...
  • Kernel: linux310-x86
  • Desktop: KDE / OpenBox
  • Branch: unstable
  • GPU Card: AMD A6-3420M
  • GPU driver: non-free
  • Skill: Guru
Re: Impossible push to git.manjaro.org
« Reply #3 on: 13. March 2014, 16:36:42 »
You're probably attempting to push over HTTP, and you can only push over SSH on Manjaro's git. Change your remote URL to the SSH counterpart.

cd to "manjaro-user-guide-fix" and then run this command.

Code: [Select]
git remote set-url origin git@git.manjaro.org:AlexTalker/manjaro-user-guide.git
Then try to push as normally.  ;D

Alternatively, you may have had some trouble while you were setting up your SSH key. This has been happening quite a bit, because the tutorial on how to do it at github leaves out a step that when not used causes this error. So if the above doesn't work for you, then try this.

Code: [Select]
cd ~/.ssh
eval $(ssh-agent)
ssh-add id_rsa

Now try to run git push normally.  ;) One of these should get you fixed up.
« Last Edit: 13. March 2014, 19:39:39 by joshua »