Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
soc:2008:git-usage [2008/06/08 09:06] mdc |
soc:2008:git-usage [2008/06/09 06:26] (current) mdc |
||
|---|---|---|---|
| Line 20: | Line 20: | ||
| Start by downloading the source tree as per the instructions on the [[:download|Download]] page: | Start by downloading the source tree as per the instructions on the [[:download|Download]] page: | ||
| - | git-clone git://git.etherboot.org/scm/gpxe.git gpxe.git | + | git-clone git://git.etherboot.org/scm/gpxe.git |
| This will create your local working repository. | This will create your local working repository. | ||
| Line 26: | Line 26: | ||
| Add a link to your personal public repository: | Add a link to your personal public repository: | ||
| - | cd gpxe.git | + | cd gpxe |
| git-remote add personal git+ssh://USERNAME@git.etherboot.org//pub/scm/people/USERNAME/gpxe.git | git-remote add personal git+ssh://USERNAME@git.etherboot.org//pub/scm/people/USERNAME/gpxe.git | ||
| Line 40: | Line 40: | ||
| Start by creating a branch to work in: | Start by creating a branch to work in: | ||
| - | cd gpxe.git/src | + | cd gpxe/src |
| git-checkout -b mywork origin/master | git-checkout -b mywork origin/master | ||
| git-push personal mywork | git-push personal mywork | ||