Skip to content

Commit 2dbd3ee

Browse files
committed
Merge pull request #48 from schacon/chapter-six
Chapter Six: GitHub
2 parents 3b1a20f + ca5db42 commit 2dbd3ee

27 files changed

+678
-91
lines changed

book/03-git-branching/1-git-branching.asc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -584,6 +584,7 @@ Some larger projects also have a `proposed` or `pu` (proposed updates) branch th
584584
The idea is that your branches are at various levels of stability; when they reach a more stable level, they're merged into the branch above them.
585585
Again, having multiple long-running branches isn't necessary, but it's often helpful, especially when you're dealing with very large or complex projects.
586586

587+
[[_topic_branches]]
587588
==== Topic Branches
588589

589590
Topic branches, however, are useful in projects of any size.

book/04-git-server/1-git-server.asc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ This doesn’t affect the commit data in any way – the SSH user you connect as
256256
Another way to do it is to have your SSH server authenticate from an LDAP server or some other centralized authentication source that you may already have set up.
257257
As long as each user can get shell access on the machine, any SSH authentication mechanism you can think of should work.
258258

259+
[[_generate_ssh_key]]
259260
=== Generating Your SSH Public Key
260261

261262
That being said, many Git servers authenticate using SSH public keys.

book/05-distributed-git/1-distributed-git.asc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Then Jessica tries to push her changes, but the server rejects them.
3636
She is told that she's trying to push non-fast-forward changes and that she won’t be able to do so until she fetches and merges.
3737
This workflow is attractive to a lot of people because it’s a paradigm that many are familiar and comfortable with.
3838

39+
[[_integration_manager]]
3940
==== Integration-Manager Workflow
4041

4142
Because Git allows you to have multiple remote repositories, it’s possible to have a workflow where each developer has write access to their own public repository and read access to everyone else’s.
@@ -56,7 +57,7 @@ The process works as follow (see <<wfdiag_b>>):
5657
.Integration-manager workflow.
5758
image::images/18333fig0502-tn.png[Integration-manager workflow.]
5859

59-
This is a very common workflow with sites like GitHub, where it’s easy to fork a project and push your changes into your fork for everyone to see.
60+
This is a very common workflow with hub-based tools like GitHub or GitLab, where it’s easy to fork a project and push your changes into your fork for everyone to see.
6061
One of the main advantages of this approach is that you can continue to work, and the maintainer of the main repository can pull in your changes at any time.
6162
Contributors don’t have to wait for the project to incorporate their changes – each party can work at their own pace.
6263

book/06-github/1-github.asc

Lines changed: 670 additions & 90 deletions
Large diffs are not rendered by default.
12.3 KB
Loading
1.04 MB
Loading
883 KB
Loading
722 KB
Loading

book/06-github/images/blink-pr.png

1.24 MB
Loading
762 KB
Loading

0 commit comments

Comments
 (0)