Information Technology Reference
In-Depth Information
Start your web browser, log in to Github.com, and create a new empty repository
named 12-04 using the procedure shown in Figure 12-3 .
When you get to the page shown in Figure 12-4 you will see instructions for upload-
ing: how to upload an existing project to this newly created repository. Go to the bash
command line and execute two commands hinted by Github:
# the commands should be executed in git-recipes/12-04
directory
$ git remote add origin
git@github.com:your-github-username/12-04.git
$ git push -u origin master
When the commands are executed, your Github repository should contain all the re-
visions from your project: a , b , c , and d .
How It Works
If you want to publish an existing project using Github, you have to create a new empty
repository and then execute two commands:
$ git remote add origin
git@github.com:your-github-username/12-04.git
$ git push -u origin master
12-5. Creating an organization account
on Github
Problem
Github interface contains a special operation called a pull request. It simplifies the
workflow for open-source projects. If you want to exercise how to work with pull re-
quests as:
• A developer who sends his contributions
Search WWH ::




Custom Search