• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 534
  • Last Modified:

Pushing data from Collobarators to GitHub

I have created GitHub private repository and I added one collaborator to my private repository. I have created project at my computer with GitBash and pushed data to my GitHub Account. I would like to give the same thing to my collaborator user also, how can I do that, so that he can push data to my project. Then I can check updated Project Code.  He can do this push from his project folder using GitBash or he can use Eclipse (like Android, PHP etc  codes) to push. I would like to see the scenario like checkin and checkout as in VSS.
0
YVSNarayana
Asked:
YVSNarayana
1 Solution
 
evilrixSenior Software Engineer (Avast)Commented:
The safest way to do this is for the other person to commit changes to their own repo and then send you a pull request.

http://help.github.com/send-pull-requests/

In this way you get to review the code changes before you commit them to your repository.

It is also possible to do this in one repo, where the changes are pushed into a separate branch and the pull request is then made for that branch.

As for what you need to do to allow the collaborator to push to your repo; AFAIK you just give them the read/write URL, which is available at the top of the page for that repo. The fact you've added them as a collaborator should be enough to grant them write access.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now