Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 528
  • 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

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

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