-1

I'm using a github project from another person, and I made a patch I think it could be usefull.

I've try a basic git push but I have this error

remote: Permission to *****.git denied to *****.

fatal: unable to access `'https://github.com/***/***/'`: The requested URL returned error: 403

How it's the correct way to push the change for the author considers it?

Thanks!

Yoann Augen
  • 1,966
  • 3
  • 21
  • 39

3 Answers3

3

Unless the author gave you commit access, you should create a pull request. Here's more information about using pull requests.

Basically, you fork the repository into your account. You make the changes and you ask the author to compare your changes in your account with the ones in the main repository.

Github makes all easy by using their pull request feature.

Simone Carletti
  • 173,507
  • 49
  • 363
  • 364
1

Push to your github and create a pull request.

How to work with github in one image:

enter image description here

Marcin Szymczak
  • 11,199
  • 5
  • 55
  • 63
0

The error you are getting is a permission issue, you need to ask permission from the guy you pulled this code from in order to push it back to the repository.

more than that, I suggest you read a git manual before starting working with it, because a simple "Push" have to come after a commit, and after a check that nothing is changed in the remote repository (do an extra pull before pushing again is advised).

Wasafa1
  • 785
  • 2
  • 10
  • 21