Skip to content

Commit

Permalink
Documentation: wording fixes in the user manual and glossary
Browse files Browse the repository at this point in the history
Re-word the section on "Updating a repository with git fetch" in the
user manual.

Various other minor fixes in the manual and glossary.

Signed-off-by: Jeremiah Mahler <jmmahler@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Jeremiah Mahler authored and Junio C Hamano committed May 28, 2014
1 parent 4a28f16 commit 3c735e0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Documentation/glossary-content.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[[def_alternate_object_database]]alternate object database::
Via the alternates mechanism, a <<def_repository,repository>>
can inherit part of its <<def_object_database,object database>>
from another object database, which is called "alternate".
from another object database, which is called an "alternate".

[[def_bare_repository]]bare repository::
A bare repository is normally an appropriately
Expand Down
15 changes: 7 additions & 8 deletions Documentation/user-manual.txt
Original file line number Diff line number Diff line change
Expand Up @@ -416,12 +416,11 @@ REVISIONS" section of linkgit:gitrevisions[7].
Updating a repository with git fetch
------------------------------------

Eventually the developer cloned from will do additional work in her
repository, creating new commits and advancing the branches to point
at the new commits.
After you clone a repository and commit a few changes of your own, you
may wish to check the original repository for updates.

The command `git fetch`, with no arguments, will update all of the
remote-tracking branches to the latest version found in her
The `git-fetch` command, with no arguments, will update all of the
remote-tracking branches to the latest version found in the original
repository. It will not touch any of your own branches--not even the
"master" branch that was created for you on clone.

Expand Down Expand Up @@ -1811,8 +1810,8 @@ manner.
You can then import these into your mail client and send them by
hand. However, if you have a lot to send at once, you may prefer to
use the linkgit:git-send-email[1] script to automate the process.
Consult the mailing list for your project first to determine how they
prefer such patches be handled.
Consult the mailing list for your project first to determine
their requirements for submitting patches.

[[importing-patches]]
Importing patches to a project
Expand Down Expand Up @@ -2255,7 +2254,7 @@ $ git checkout test && git merge speed-up-spinlocks
It is unlikely that you would have any conflicts here ... but you might if you
spent a while on this step and had also pulled new versions from upstream.

Some time later when enough time has passed and testing done, you can pull the
Sometime later when enough time has passed and testing done, you can pull the
same branch into the `release` tree ready to go upstream. This is where you
see the value of keeping each patch (or patch series) in its own branch. It
means that the patches can be moved into the `release` tree in any order.
Expand Down

0 comments on commit 3c735e0

Please sign in to comment.