Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I Cannot Push it to the branch that I have created earlier according to the steps given. #83100

Open
Pavan-Virat-18 opened this issue Apr 4, 2024 · 2 comments

Comments

@Pavan-Virat-18
Copy link

Problem:-
$ git push -u origin new-pavan-branch
remote: Permission to firstcontributions/first-contributions.git denied to Pavan-Virat-18.
fatal: unable to access 'https://github.com/firstcontributions/first-contributions.git/': The requested URL returned error: 403

Please suggest steps to resolve this issue.

@xhemals
Copy link
Contributor

xhemals commented Apr 4, 2024

Looks like you are attempting to push to the main branch of the repo.
Make sure you:

  1. Have forked the repo.
  2. Clone your forked repo to your environment.
  3. Create a new branch in the forked version.
  4. Push to your forked branch

@kenshanta
Copy link

Looks like you are attempting to push to the main branch of the repo.
Make sure you:

  1. Have forked the repo.
  2. Clone your forked repo to your environment.
  3. Create a new branch in the forked version.
  4. Push to your forked branch

@Pavan-Virat-18 this should resolve the issue.

If it does, please mark the issue as completed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants