Skip to content
This repository has been archived by the owner on May 2, 2019. It is now read-only.

Commit

Permalink
Merge pull request #573 from skiasaurus/patch-1
Browse files Browse the repository at this point in the history
Monospace branch names
  • Loading branch information
jnavila committed Jan 11, 2014
2 parents 0df6fdb + 1ca5ef1 commit 44799f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion en/03-git-branching/01-chapter3.markdown
Expand Up @@ -460,7 +460,7 @@ To set up a local branch with a different name than the remote branch, you can e
Branch sf set up to track remote branch refs/remotes/origin/serverfix.
Switched to a new branch "sf"

Now, your local branch sf will automatically push to and pull from origin/serverfix.
Now, your local branch `sf` will automatically push to and pull from `origin/serverfix`.

### Deleting Remote Branches ###

Expand Down
6 changes: 3 additions & 3 deletions en/05-distributed-git/01-chapter5.markdown
Expand Up @@ -174,7 +174,7 @@ John has a reference to the changes Jessica pushed up, but he has to merge them
The merge goes smoothly — John’s commit history now looks like Figure 5-5.

Insert 18333fig0505.png
Figure 5-5. John’s repository after merging origin/master.
Figure 5-5. John’s repository after merging `origin/master`.

Now, John can test his code to make sure it still works properly, and then he can push his new merged work up to the server:

Expand Down Expand Up @@ -215,7 +215,7 @@ Jessica thinks her topic branch is ready, but she wants to know what she has to

removed invalid default value

Now, Jessica can merge her topic work into her master branch, merge John’s work (`origin/master`) into her `master` branch, and then push back to the server again. First, she switches back to her master branch to integrate all this work:
Now, Jessica can merge her topic work into her `master` branch, merge John’s work (`origin/master`) into her `master` branch, and then push back to the server again. First, she switches back to her `master` branch to integrate all this work:

$ git checkout master
Switched to branch "master"
Expand Down Expand Up @@ -255,7 +255,7 @@ Each developer has committed a few times and merged each other’s work successf
Insert 18333fig0510.png
Figure 5-10. Jessica’s history after pushing all changes back to the server.

That is one of the simplest workflows. You work for a while, generally in a topic branch, and merge into your master branch when it’s ready to be integrated. When you want to share that work, you merge it into your own master branch, then fetch and merge `origin/master` if it has changed, and finally push to the `master` branch on the server. The general sequence is something like that shown in Figure 5-11.
That is one of the simplest workflows. You work for a while, generally in a topic branch, and merge into your `master` branch when it’s ready to be integrated. When you want to share that work, you merge it into your own `master` branch, then fetch and merge `origin/master` if it has changed, and finally push to the `master` branch on the server. The general sequence is something like that shown in Figure 5-11.

Insert 18333fig0511.png
Figure 5-11. General sequence of events for a simple multiple-developer Git workflow.
Expand Down

0 comments on commit 44799f5

Please sign in to comment.