How can a user with read-only access to Git make a pull request?
I’m working on some collaborative projects with my coworkers. We’re starting to adopt Git.
I have a repository in Bitbucket, and I gave read-only access to one of my associates. After he made his corrections and contributions to the project, how can he make a “pull request” if his user profile is read-only? How can he upload his branches to the repository?
- How to set default fork for pull requests?
- Git: exclude committed file from pull request
- How to implement Stash Pull request 'Merge' button
- Ignoring specific files, file types or folders in a pull request diff
- Github pull requests and file exclusion
- Good strategy to handle dependencies between sequential pull requests
The second, taking a user profile writing, as we can prevent its branches merge repository to master without having gone through a “pull request” and that the administrator has decided to accept your request.
One Solution collect form web for “How can a user with read-only access to Git make a pull request?”
If your coworker only has read access to the repo, then he’ll need to fork the repo, clone it down, make his changes, push them back up, and then make a pull request from his repo to yours.
Obviously you’ll have your reasons for restricting permissions, but if he has read-write access to the repo, he simply needs to make a branch on that repo, push it, and he can then issue the pull request.
Here is some additional info from bitbucket on working with pull requests