Information Technology Reference
In-Depth Information
John Doe authored...
Gajdaw committed...
Figure 12-7
.
For revisions with different Author and Commit data, Github presents both
Hint
How to create revisions such as the one shown in
Figure 12-7
?
You can use
$
git commit --amend
as described in Recipe 8-1. You can use the
$ git
cherry-pick
,
$ git am
, and
$ git rebase
commands in a similar way.
12-4. Creating a Github-hosted reposit-
ory for an existing project
Problem
You have worked on your project for some time, and now you want to publish it on
Github.
Solution
Create a project with the following commands:
$ cd git-recipes
$ git init 12-04
$ cd 12-04
$ git simple-commit a b c d