http://help.github.com/fork-a-repo/
================================================================
What if you want to work on a project with someone else on github?
=============
So let's say you want to collaborate with someone on github. No worries, github makes that easy.
1) Fork a repo onto your github account
First thing's first, navigate to the project you'd like to collaborate on, and click the fork button (someone else must own the project).
2) Make a change that you think is swell
Just change some code... You could even do it from the html interface now.
3) Issue a pull request
You can now click the "pull request" button on your project page. The other party will be alerted that you have made a swell change to the project. They can then choose to either accept the change, or ignore it in the case that the change isn't swell enough.
===============================================================
What if the other guy makes a change to his project after I've forked it?
==============
"Don't sweat it, this is no problem at all"
1) Fetch the upstream changes and merge them (you need to work with things on a local machine, so set that up first)
If you have problems, remember that git stash is your friend. (TODO: add link to git stash)
================================================================
What if you want to work on a project with someone else on github?
=============
So let's say you want to collaborate with someone on github. No worries, github makes that easy.
1) Fork a repo onto your github account
First thing's first, navigate to the project you'd like to collaborate on, and click the fork button (someone else must own the project).
2) Make a change that you think is swell
Just change some code... You could even do it from the html interface now.
3) Issue a pull request
You can now click the "pull request" button on your project page. The other party will be alerted that you have made a swell change to the project. They can then choose to either accept the change, or ignore it in the case that the change isn't swell enough.
===============================================================
What if the other guy makes a change to his project after I've forked it?
==============
"Don't sweat it, this is no problem at all"
1) Fetch the upstream changes and merge them (you need to work with things on a local machine, so set that up first)
Spoiler
$ git remote add upstream git://github.com/octocat/Spoon-Knife.git $ git fetch upstream $ git merge upstream/master
If you have problems, remember that git stash is your friend. (TODO: add link to git stash)
0 Comments On This Entry
Trackbacks for this entry [ Trackback URL ]
Tags
My Blog Links
Recent Entries
-
Git (Basic -> Intermediate): Manipulate and tidy up your commit history (git squash)
on Apr 18 2013 10:56 AM
-
-
-
-
Recent Comments
-
NotarySojac
on Mar 30 2012 08:17 AM
Setting up a PXE server and booting a client (TFTP, PXE, DHCP, ...NFS...)
-
kaotikmynd
on Mar 28 2012 09:30 PM
Setting up a PXE server and booting a client (TFTP, PXE, DHCP, ...NFS...)
-
NotarySojac
on Mar 20 2012 07:27 AM
Setting up a PXE server and booting a client (TFTP, PXE, DHCP, ...NFS...)
-
Shane Hudson
on Mar 19 2012 05:28 PM
Setting up a PXE server and booting a client (TFTP, PXE, DHCP, ...NFS...)
-
Search My Blog
1 user(s) viewing
1 Guests
0 member(s)
0 anonymous member(s)
0 member(s)
0 anonymous member(s)
Categories
|
|



Leave Comment








|