patchwork icon indicating copy to clipboard operation
patchwork copied to clipboard

remote Permission to jlord/patchwork.git denied returned error: 403

Open tariik opened this issue 10 years ago • 25 comments

remote: Permission to jlord/patchwork.git denied to tariik. fatal: unable to access 'https://github.com/jlord/patchwork.git/': The requested URL returned error: 403 me, @jlord. If you don't delete these lines then it'll be done for you :smile: thanks!

tariik avatar May 31 '16 14:05 tariik

It's unclear what you're referring to here, could you elaborate please?

jlord avatar May 31 '16 17:05 jlord

I am getting the same error when I try to do the 'Branches Aren't Just For Birds' step in Git-it. I'm trying to do a push to the contributors directory. IE: git push origin add-dbwebconsulting. I'm on a pc, win 7. 64bit. My git config origin url is: url = https://github.com/jlord/patchwork.git/. I am getting the following error: Found branch as expected! Error: Command failed: "H:\UserFiles\Web-stuff\Git-it-win32-ia32\resources\app\assets\PortableGit\bin\git.exe " reflog show origin/add-dbwebconsulting fatal: ambiguous argument 'origin/add-dbwebconsulting': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'

dbwebconsulting avatar Jun 28 '16 06:06 dbwebconsulting

I'm having the same issue working on a Mac. I feel I have a pretty good sense of git but not sure what the problem is.

ghost avatar Jun 30 '16 21:06 ghost

When you get a 403 on this challenge it is because you are trying to push your changes to a repository you don't have access to i.e. my original one jlord/patchwork.

I'm going to update the app soon to make it more clear since this is catching quite a few people.

To see what your remotes are you can run:

git remote -v

You should have an origin that points to the copy (fork) on your GitHub account and one named upstream that points to my original jlord/patchwork. You can only pull from upstream, not push.

It seems like people are either pushing to upstream or have set the URL to origin incorrectly.

You can update your origin remote url by running:

git remote set-url origin <urltoyourfork>

jlord avatar Jun 30 '16 23:06 jlord

Thanks for the clarification.

dbwebconsulting avatar Jul 09 '16 22:07 dbwebconsulting

I have the same problem. I think though is driven by the fact that I "logged" in with a different account. How do I sign out and back in with the "correct" Github account from terminal? Thanks!

mirkolgt avatar Jul 25 '16 17:07 mirkolgt

I too have an same problem. Where am using the same account but in different mac.

While pushing to orgin from my office it throwing an error.

remote: Permission to satheeshmech/satheesh.git denied to SwathiVishwa. fatal: unable to access 'https://github.com/satheeshmech/satheesh.git/': The requested URL returned error: 403

satheesh-mallow avatar Jan 11 '17 05:01 satheesh-mallow

pushing to remote orgin it throwing an error fatal: unable to access 'https://github.com/demo.git/': The requested URL returned error: 403

vadivelanproz avatar Mar 08 '17 15:03 vadivelanproz

first>git pull... then>git push...

huyong007 avatar Aug 28 '17 04:08 huyong007

I have a same problem. When I commit and push to remote it throwing an error " Permission to hpcity/hoangsa-library.git denied to TruongVanHa." How to fix it?

csvhub avatar Sep 02 '17 08:09 csvhub

i have same issue /workspace/hello-world/patchwork (gh-pages) $ git push origin mypatch_test remote: Permission to jlord/patchwork.git denied to Silatibebe fatal: unable to access 'https://github.com/jlord/patchwork.git/': The requested URL returned error: 403

Silatibebe avatar Sep 30 '17 04:09 Silatibebe

I have the same error, though it seems I typed a wrong password. I thought I should be prompted to re-enter my password each time try to push changes to my origin via bash. But I keep getting the same error over and over. Kindly help with a way out anybody?

remote: Permission to kosemani2/gitlearning.git denied to kosemani1. fatal: unable to access 'https://github.com/kosemani2/gitlearning.git/': The requested URL returned error: 403

kosemani2 avatar Oct 26 '17 04:10 kosemani2

sravanpsk avatar Oct 29 '17 19:10 sravanpsk

SOLVED HERE! https://stackoverflow.com/questions/15381198/remove-credentials-from-git

pmndifon avatar Nov 15 '17 04:11 pmndifon

thanks i have resolved

shivkg avatar Nov 27 '18 11:11 shivkg

clone from a fork project instead of the master project

nacongodev avatar Nov 30 '18 00:11 nacongodev

@jlord thank you for your explanation !! it was exactly what was happening to me

jeanmonse16 avatar Aug 30 '19 15:08 jeanmonse16

I solved this error after the leader of the group in which i was contributing sent me an invitation to join as a collaborator. Hence if you are collaborating in a group and you encounter the same issue then please alert your leader to send you an invitation. Hope it helps!

neocodegh avatar Oct 21 '19 22:10 neocodegh

Saludos, tengo el mismo problema:

$ git push -u origin develop remote: Permission to landetaedwin/sitp-app.git denied to NandoRosero. fatal: unable to access 'https://github.com/landetaedwin/sitp-app.git/': The requested URL returned error: 403

NandoRosero avatar Mar 05 '20 19:03 NandoRosero

remote: Permission to Kamil-Esh/our-project-fixed.git denied to Kumarbek9292. fatal: unable to access 'https://github.com/Kamil-Esh/our-project-fixed/': The requested URL returned error: 403

Kumarbek9292 avatar Oct 20 '20 05:10 Kumarbek9292