Information Technology Reference
In-Depth Information
Take a good look at the above commands. This should be the URL for the original
repository.
Now add the remote URL aliased by me and pointing to your fork:
$ git remote add my git@github.com:your-github-username/
12-06.git
Your local repository saved in git-recipes/12-07 contains two remote aliases. The
command $ git remote -v prints the following results:
$ git remote -v
my
git@github.com:your-github-account/12-06.git
(fetch)
my
git@github.com: your-github-account/12-06.git
(push)
origin git@github.com:your-organization/12-06.git (fetch)
origin git@github.com: your-organization/12-06.git (push)
Check your identity with two following commands:
$ git config user.name
$ git config user.email
The output of the above commands should include your real name and your real
email address.
You are ready to contribute to the original repository. To do this, create a new
branch:
$ git checkout -b numbers
Create three revisions one, two, three with:
$ git simple-commit one two three
Push your branch named numbers to your fork on Github with:
$ git push -u my HEAD
Search WWH ::




Custom Search