My first contribution, running the test

I’m trying to push to django repository but i’m getting error : The current branch #30386_admin_foreignkey has no upstream branch.
To push the current branch and set the remote as upstream, use

git push --set-upstream origin #30386_admin_foreignkey

@carltongibson Please I’m having issue pushing to github, I’m having this error :

The current branch #30386_admin_foreignkey has no upstream branch.
To push the current branch and set the remote as upstream, use

git push --set-upstream origin #30386_admin_foreignkey

I’m also having this error when i try to push from my IDE

remote: Permission to django/django.git denied to Oluwayhemisi.
fatal: unable to access ‘GitHub - django/django: The Web framework for perfectionists with deadlines.’: The requested URL returned error: 403

Hi @Oluwayhemisi.

Take a look at this GitHub guide: Configuring a remote repository for a fork - GitHub Docs

You need to configure a remote for your fork of django/django.

So, I have two remotes configured, named origin and fork:

% git remote -v 
fork	git@github.com:carltongibson/django.git (fetch)
fork	git@github.com:carltongibson/django.git (push)
origin	git@github.com:django/django.git (fetch)
origin	git@github.com:django/django.git (push)

The names can be anything. Often it could be origin for your fork and upstream for django/django.
But whatever they’re called, you need to push your branch to your fork, and then you can create a PR from that.

The whole section of those GitHub docs explains the workflow, so it’s likely worth giving it a read over (so at least you know where to look things up, which is what I always have to do :slight_smile: