Skip to content

Commit bd037ec

Browse files
authored
Merge pull request #1 from progit/main
Merge upstream
2 parents a0f7d51 + 55081ea commit bd037ec

File tree

9 files changed

+74
-125
lines changed

9 files changed

+74
-125
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ gem 'asciidoctor-pdf', '2.3.17'
1313
gem 'coderay', '1.1.3'
1414
gem 'pygments.rb', '2.4.1'
1515
gem 'thread_safe', '0.3.6'
16-
gem 'epubcheck-ruby', '5.1.0.0'
16+
gem 'epubcheck-ruby', '5.2.0.0'
1717
gem 'html-proofer', '5.0.9'
1818
gem 'kindlegen', '3.1.1'

book/01-introduction/sections/first-time-setup.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ $ git config --global user.name "John Doe"
4242
$ git config --global user.email [email protected]
4343
----
4444

45-
Again, you need to do this only once if you pass the `--global` option, because then Git will always use that information for anything you do on that system.
45+
Again, you need to do this only once if you pass the `--global` option, because then Git will always use that information for your user on that system.
4646
If you want to override this with a different name or email address for specific projects, you can run the command without the `--global` option when you're in that project.
4747

4848
Many of the GUI tools will help you do this when you first run them.

book/03-git-branching/sections/remote-branches.asc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,6 @@ It will simply get the data for you and let you merge it yourself.
217217
However, there is a command called `git pull` which is essentially a `git fetch` immediately followed by a `git merge` in most cases.
218218
If you have a tracking branch set up as demonstrated in the last section, either by explicitly setting it or by having it created for you by the `clone` or `checkout` commands, `git pull` will look up what server and branch your current branch is tracking, fetch from that server and then try to merge in that remote branch.
219219

220-
Generally it's better to simply use the `fetch` and `merge` commands explicitly as the magic of `git pull` can often be confusing.
221-
222220
[[_delete_branches]]
223221
==== Deleting Remote Branches
224222

book/07-git-tools/sections/debugging.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Bisecting: 1 revisions left to test after this
111111
----
112112

113113
This commit is fine, and now Git has all the information it needs to determine where the issue was introduced.
114-
It tells you the SHA-1 of the first bad commit and show some of the commit information and which files were modified in that commit so you can figure out what happened that may have introduced this bug:
114+
It tells you the SHA-1 of the first bad commit and shows some of the commit information and which files were modified in that commit so you can figure out what happened that may have introduced this bug:
115115

116116
[source,console]
117117
----

book/07-git-tools/sections/submodules.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ $
166166
----
167167

168168
The `DbConnector` directory is there, but empty.
169-
You must run two commands: `git submodule init` to initialize your local configuration file, and `git submodule update` to fetch all the data from that project and check out the appropriate commit listed in your superproject:
169+
You must run two commands from the main project: `git submodule init` to initialize your local configuration file, and `git submodule update` to fetch all the data from that project and check out the appropriate commit listed in your superproject:
170170

171171
[source,console]
172172
----

book/09-git-and-other-scms/sections/client-svn.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ c3dcbe8488c6240392e8a5d7553bbffcb0f94ef0 refs/remotes/origin/master
158158
6dcb09b5b57875f334f61aebed695e2e4193db5e refs/tags/v1.0.0
159159
----
160160

161-
Git fetches the tags directly into `refs/tags`, rather than treating them remote branches.
161+
Git fetches the tags directly into `refs/tags`, rather than treating them as remote branches.
162162

163163
===== Committing Back to Subversion
164164

diagram-source/progit.sketch

-140 KB
Binary file not shown.

images/managed-team-flow.png

-93 KB
Loading

0 commit comments

Comments
 (0)