git push error

13 views
Skip to first unread message

alon antin

unread,
May 17, 2014, 3:26:44 PM5/17/14
to okness...@googlegroups.com
Hi,

When I tried to push my recent code to git, I received the error below:

@Username for 'https://github.com': antin
Password for 'https://an...@github.com':
remote: Permission to hasadna/Open-Knesset.git denied to antin.
fatal: unable to access 'https://github.com/hasadna/Open-Knesset.git/': The requested URL returned error: 403
(oknesset)antin@antin-ThinkPad-T500:~/oknesset/Open-Knesset$ git push
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)

Do you know why?  or what should I do?

Thanks,
Alon

Meir Kriheli

unread,
May 17, 2014, 3:29:23 PM5/17/14
to okness...@googlegroups.com
You can't push to Hasadna's repo. You should've forked the project, pulled from it, push to your own repo and send a pull request.


--
You received this message because you are subscribed to the Google Groups "Open Knesset Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to oknesset-dev...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Meir Kriheli

unread,
May 17, 2014, 3:31:51 PM5/17/14
to okness...@googlegroups.com

alon antin

unread,
May 17, 2014, 3:33:38 PM5/17/14
to okness...@googlegroups.com
Thanks
Reply all
Reply to author
Forward
0 new messages