Skip to content

Commit

Permalink
Merge branch 'maint'
Browse files Browse the repository at this point in the history
* maint:
  user-manual: Rewrite git-gc section for automatic packing
  user-manual: Fix 'you - Git' -> 'you--Git' typo
  user-manual: Fix 'http' -> 'HTTP' typos
  user-manual: Fix 'both: so' -> 'both; so' typo
  • Loading branch information
Junio C Hamano committed Feb 11, 2013
2 parents 271cd23 + 901fd18 commit e1ebf21
Showing 1 changed file with 10 additions and 16 deletions.
26 changes: 10 additions & 16 deletions Documentation/user-manual.txt
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ e05db0fd4f31dde7005f075a84f96b360d05984b

Or you could recall that the ... operator selects all commits
contained reachable from either one reference or the other but not
both: so
both; so

-------------------------------------------------
$ git log origin...master
Expand Down Expand Up @@ -1562,17 +1562,11 @@ Ensuring good performance
-------------------------

On large repositories, Git depends on compression to keep the history
information from taking up too much space on disk or in memory.

This compression is not performed automatically. Therefore you
should occasionally run linkgit:git-gc[1]:

-------------------------------------------------
$ git gc
-------------------------------------------------

to recompress the archive. This can be very time-consuming, so
you may prefer to run `git gc` when you are not doing other work.
information from taking up too much space on disk or in memory. Some
Git commands may automatically run linkgit:git-gc[1], so you don't
have to worry about running it manually. However, compressing a large
repository may take a while, so you may want to call `gc` explicitly
to avoid automatic compression kicking in when it is not convenient.


[[ensuring-reliability]]
Expand Down Expand Up @@ -1931,11 +1925,11 @@ linkgit:git-daemon[1] man page for details. (See especially the
examples section.)

[[exporting-via-http]]
Exporting a Git repository via http
Exporting a git repository via HTTP
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The Git protocol gives better performance and reliability, but on a
host with a web server set up, http exports may be simpler to set up.
host with a web server set up, HTTP exports may be simpler to set up.

All you need to do is place the newly created bare Git repository in
a directory that is exported by the web server, and make some
Expand All @@ -1961,7 +1955,7 @@ $ git clone http://yourserver.com/~you/proj.git
(See also
link:howto/setup-git-server-over-http.txt[setup-git-server-over-http]
for a slightly more sophisticated setup using WebDAV which also
allows pushing over http.)
allows pushing over HTTP.)

[[pushing-changes-to-a-public-repository]]
Pushing changes to a public repository
Expand Down Expand Up @@ -3396,7 +3390,7 @@ $ git log --raw --all
------------------------------------------------

and just looked for the sha of the missing object (4b9458b..) in that
whole thing. It's up to you - Git does *have* a lot of information, it is
whole thing. It's up to you--Git does *have* a lot of information, it is
just missing one particular blob version.

[[the-index]]
Expand Down

0 comments on commit e1ebf21

Please sign in to comment.