Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
soc:2008:git-usage [2008/05/22 15:43] drv add USERNAME@ part of git-remote add |
soc:2008:git-usage [2008/06/08 09:06] mdc |
||
---|---|---|---|
Line 16: | Line 16: | ||
When your code is ready to be merged into the main gPXE codebase, we will pull from your personal public repository. | When your code is ready to be merged into the main gPXE codebase, we will pull from your personal public repository. | ||
- | |||
===== Setting up your repositories ===== | ===== Setting up your repositories ===== | ||
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 | + | git-clone git://git.etherboot.org/scm/gpxe.git gpxe.git |
This will create your local working repository. | This will create your local working repository. | ||
Line 27: | Line 26: | ||
Add a link to your personal public repository: | Add a link to your personal public repository: | ||
- | cd gpxe | + | cd gpxe.git |
- | git-remote add personal USERNAME@rom.etherboot.org:/pub/scm/people/USERNAME/gpxe.git | + | git-remote add personal git+ssh://USERNAME@git.etherboot.org//pub/scm/people/USERNAME/gpxe.git |
where //USERNAME// is your username on rom.etherboot.org. | where //USERNAME// is your username on rom.etherboot.org. | ||
Line 35: | Line 34: | ||
git-push personal | git-push personal | ||
- | |||
===== Example workflow ===== | ===== Example workflow ===== | ||
Line 42: | Line 40: | ||
Start by creating a branch to work in: | Start by creating a branch to work in: | ||
- | cd gpxe/src | + | cd gpxe.git/src |
git-checkout -b mywork origin/master | git-checkout -b mywork origin/master | ||
git-push personal mywork | git-push personal mywork | ||
Line 54: | Line 52: | ||
git-push personal | git-push personal | ||
- |