Reputation: 4194
I have cloned http://git.savannah.gnu.org/r/gpsd.git repository.I also created new local branch. Now I have found one bug in any file i.e maintainers.txt and edited it.
I did git commit . But when I run git push ..It ask to set it upstream stream. But when I did
fatal: unable to access 'http://git.savannah.gnu.org/r/gpsd.git/': The requested URL returned error: 403
I have faced this error.I know I dont have access to that repo so that happened .So how to work and generate pull request if we dont have access on the repository.? Can I create repo with same content on my github ? If yes How?
Upvotes: 2
Views: 834
Reputation: 5862
So how to work and generate pull request if we dont have access on the repository.?
Pull requests are not git things, they are git-hosting service capabilities (i.e. GitHub, Bitbucket, Visual Studio Online, etc.). So to answer your question, you would have to find out if a pull request is even possible with your git-hosting service. Judging by what I see when I navigate to that URI, it doesn't appear as though pull requests are possible or at the very least not straight-forward.
Can I create repo with same content on my github ? If yes How?
Yes, absolutely. All you need to do is create a new repo on GitHub, and then push your local repository to GitHub after you add the GitHub repo as a remote
. This entire process is documented thoroughly on GitHub.
Upvotes: 1