Changeset View
Changeset View
Standalone View
Standalone View
documentation/content/en/articles/committers-guide/_index.adoc
Show First 20 Lines • Show All 2,045 Lines • ▼ Show 20 Lines | |||||
.... | .... | ||||
% git remote add github git@github.com:gvnn3/freebsd-src.git | % git remote add github git@github.com:gvnn3/freebsd-src.git | ||||
% git remote -v | % git remote -v | ||||
github git@github.com:gvnn3/freebsd-src.git (fetch) | github git@github.com:gvnn3/freebsd-src.git (fetch) | ||||
github git@github.com:gvnn3/freebsd-src.git (push) | github git@github.com:gvnn3/freebsd-src.git (push) | ||||
freebsd https://git.freebsd.org/src.git (fetch) | freebsd https://git.freebsd.org/src.git (fetch) | ||||
freebsd ssh://git@gitrepo.freebsd.org/src.git (push) | freebsd ssh://git@gitrepo.freebsd.org/src.git (push) | ||||
.... | .... | ||||
With this in place you can create a <<keeping_a_local_branch,as shown above.>> | With this in place you can create a branch <<keeping_a_local_branch,as shown above.>> | ||||
[source,shell] | [source,shell] | ||||
.... | .... | ||||
% git checkout -b gnn-github | % git checkout -b gnn-github | ||||
.... | .... | ||||
Make whatever modifications you wish in your branch. Build, test, and once you're ready to collaborate with others it's time to push your changes into your hosted branch. | Make whatever modifications you wish in your branch. Build, test, and once you're ready to collaborate with others it's time to push your changes into your hosted branch. | ||||
Before you can push you'll have to set the appropriate upstream, as git will tell you the first time you try to push to your +github+ remote: | Before you can push you'll have to set the appropriate upstream, as git will tell you the first time you try to push to your +github+ remote: | ||||
▲ Show 20 Lines • Show All 1,690 Lines • Show Last 20 Lines |