Saturday, October 31, 2020

Re: Question about permissions for django.git

Hi Chris,

On 31/10/2020 17.02, Christopher Keith wrote:
> Folks -
>
> I am following the instructions from
> https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/working-with-git/
> .
>
> However, when I try to 'git fetch' the source repo, I get 'Permission
> denied'
>
> PS C:\Users\chris\Documents\Github>  git clone
> https://github.com/chrisxkeith/django.git

Here you are using an https URL (https://github.com/chrisxkeith/django.git)

> git@github.com:django/django.git
> PS C:\Users\chris\Documents\Github\django> git fetch upstream
> git@github.com: Permission denied (publickey).
> fatal: Could not read from remote repository.

Here you are using a "git" URL (git@github.com:django/django.git).

Instead of:

# git remote add upstream git@github.com:django/django.git

Try:

# git remote add upstream https://github.com/django/django.git

Or something similar.

Hope you see the difference.

Kind regards,

Kasper Laudrup

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/19d48991-afe4-81d8-5b62-2fcb8539d96f%40stacktrace.dk.

No comments:

Post a Comment