<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/git-init.txt, branch v1.7.2.4</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://www.git.shady.money/git/atom?h=v1.7.2.4</id>
<link rel='self' href='https://www.git.shady.money/git/atom?h=v1.7.2.4'/>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/'/>
<updated>2010-02-17T20:17:53Z</updated>
<entry>
<title>Add a "TEMPLATE DIRECTORY" section to git-init[1].</title>
<updated>2010-02-17T20:17:53Z</updated>
<author>
<name>Steven Drake</name>
<email>sdrake@xnet.co.nz</email>
</author>
<published>2010-02-16T23:44:46Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=d8a8488d569420c4e0a96a8df36b246d888e68d4'/>
<id>urn:sha1:d8a8488d569420c4e0a96a8df36b246d888e68d4</id>
<content type='text'>
Create a more inoformative section to describe template directory and
refer to it in config.txt and with the '--template' option of git-init
and git-clone commands.

Signed-off-by: Steven Drake &lt;sdrake@xnet.co.nz&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Documentation: spell 'git cmd' without dash throughout</title>
<updated>2010-01-10T12:01:28Z</updated>
<author>
<name>Thomas Rast</name>
<email>trast@student.ethz.ch</email>
</author>
<published>2010-01-09T23:33:00Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=0b444cdb19bcfcc7f59b7b00783cbfbbc5ddcf63'/>
<id>urn:sha1:0b444cdb19bcfcc7f59b7b00783cbfbbc5ddcf63</id>
<content type='text'>
The documentation was quite inconsistent when spelling 'git cmd' if it
only refers to the program, not to some specific invocation syntax:
both 'git-cmd' and 'git cmd' spellings exist.

The current trend goes towards dashless forms, and there is precedent
in 647ac70 (git-svn.txt: stop using dash-form of commands.,
2009-07-07) to actively eliminate the dashed variants.

Replace 'git-cmd' with 'git cmd' throughout, except where git-shell,
git-cvsserver, git-upload-pack, git-receive-pack, and
git-upload-archive are concerned, because those really live in the
$PATH.
</content>
</entry>
<entry>
<title>git init: optionally allow a directory argument</title>
<updated>2009-07-25T09:17:54Z</updated>
<author>
<name>Nanako Shiraishi</name>
<email>nanako3@lavabit.com</email>
</author>
<published>2009-07-24T21:59:28Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=53d48885931614a43e414e1272a7f126f8d0c901'/>
<id>urn:sha1:53d48885931614a43e414e1272a7f126f8d0c901</id>
<content type='text'>
When starting a new repository, I see my students often say

    % git init newrepo

and curse git.  They could say

    % mkdir newrepo; cd newrepo; git init

but allowing it as an obvious short-cut may be nicer.

Signed-off-by: Nanako Shiraishi &lt;nanako3@lavabit.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Update docs on behaviour of 'core.sharedRepository' and 'git init --shared'</title>
<updated>2009-04-18T19:51:06Z</updated>
<author>
<name>Johan Herland</name>
<email>johan@herland.net</email>
</author>
<published>2009-04-14T13:15:42Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=098082fb78768dc3cbe659048c9f47cabdd7e39b'/>
<id>urn:sha1:098082fb78768dc3cbe659048c9f47cabdd7e39b</id>
<content type='text'>
This documentation update is needed to reflect the recent changes where
"core.sharedRepository = 0mode" was changed to set, not loosen, the
repository permissions.

Signed-off-by: Johan Herland &lt;johan@herland.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>manpages: italicize git command names (which were in teletype font)</title>
<updated>2008-07-05T18:24:40Z</updated>
<author>
<name>Jonathan Nieder</name>
<email>jrnieder@uchicago.edu</email>
</author>
<published>2008-07-03T05:41:41Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=ba020ef5eb5fca3d757bd580ff117adaf81ca079'/>
<id>urn:sha1:ba020ef5eb5fca3d757bd580ff117adaf81ca079</id>
<content type='text'>
The names of git commands are not meant to be entered at the
commandline; they are just names. So we render them in italics,
as is usual for command names in manpages.

Using

	doit () {
	  perl -e 'for (&lt;&gt;) { s/\`(git-[^\`.]*)\`/'\''\1'\''/g; print }'
	}
	for i in git*.txt config.txt diff*.txt blame*.txt fetch*.txt i18n.txt \
	        merge*.txt pretty*.txt pull*.txt rev*.txt urls*.txt
	do
	  doit &lt;"$i" &gt;"$i+" &amp;&amp; mv "$i+" "$i"
	done
	git diff

.

Signed-off-by: Jonathan Nieder &lt;jrnieder@uchicago.edu&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Documentation: be consistent about "git-" versus "git "</title>
<updated>2008-07-02T00:20:15Z</updated>
<author>
<name>Jonathan Nieder</name>
<email>jrnieder@uchicago.edu</email>
</author>
<published>2008-06-30T06:09:04Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=b1889c36d85514e5e70462294c561a02c2edfe2b'/>
<id>urn:sha1:b1889c36d85514e5e70462294c561a02c2edfe2b</id>
<content type='text'>
Since the git-* commands are not installed in $(bindir), using
"git-command &lt;parameters&gt;" in examples in the documentation is
not a good idea. On the other hand, it is nice to be able to
refer to each command using one hyphenated word. (There is no
escaping it, anyway: man page names cannot have spaces in them.)

This patch retains the dash in naming an operation, command,
program, process, or action. Complete command lines that can
be entered at a shell (i.e., without options omitted) are
made to use the dashless form.

The changes consist only of replacing some spaces with hyphens
and vice versa. After a "s/ /-/g", the unpatched and patched
versions are identical.

Signed-off-by: Jonathan Nieder &lt;jrnieder@uchicago.edu&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Docs: Use "-l::\n--long\n" format in OPTIONS sections</title>
<updated>2008-06-08T20:46:38Z</updated>
<author>
<name>Stephan Beyer</name>
<email>s-beyer@gmx.net</email>
</author>
<published>2008-06-08T01:36:09Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=3240240ff427fa2e26a847c7c9fd89e6a4313daa'/>
<id>urn:sha1:3240240ff427fa2e26a847c7c9fd89e6a4313daa</id>
<content type='text'>
The OPTIONS section of a documentation file contains a list
of the options a git command accepts.

Currently there are several variants to describe the case that
different options (almost) do the same in the OPTIONS section.

Some are:

 -f, --foo::
 -f|--foo::
 -f | --foo::

But AsciiDoc has the special form:

 -f::
 --foo::

This patch applies this form to the documentation of the whole git suite,
and removes useless em-dash prevention, so \--foo becomes --foo.

Signed-off-by: Stephan Beyer &lt;s-beyer@gmx.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>documentation: move git(7) to git(1)</title>
<updated>2008-06-06T18:18:28Z</updated>
<author>
<name>Christian Couder</name>
<email>chriscool@tuxfamily.org</email>
</author>
<published>2008-06-06T07:07:32Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=9e1f0a85c68323830ea117092c55192b17aa3ac8'/>
<id>urn:sha1:9e1f0a85c68323830ea117092c55192b17aa3ac8</id>
<content type='text'>
As the "git" man page describes the "git" command at the end-user
level, it seems better to move it to man section 1.

Signed-off-by: Christian Couder &lt;chriscool@tuxfamily.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git-init: accept --bare option</title>
<updated>2008-05-29T01:31:19Z</updated>
<author>
<name>Luciano Rocha</name>
<email>luciano@eurotux.com</email>
</author>
<published>2008-05-28T18:53:57Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=74d3b23fe3771c769ccd5c97f6a46682b4061577'/>
<id>urn:sha1:74d3b23fe3771c769ccd5c97f6a46682b4061577</id>
<content type='text'>
It is unfortunate that "git init --bare" does not work and the only reason
why "init" did not learn its own "--bare" option is because "git --bare
init" already does the job (and as an option to the git 'potty', it is
more generic solution).

This teaches "git init" its own "--bare" option, so that both "git --bare init"
and "git init --bare" works mostly the same way.

[jc: rewrote the log message and added test]

Signed-off-by: Luciano Rocha &lt;strange@nsk.pt&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Make core.sharedRepository more generic</title>
<updated>2008-04-17T01:23:54Z</updated>
<author>
<name>Heikki Orsila</name>
<email>heikki.orsila@iki.fi</email>
</author>
<published>2008-04-16T08:34:24Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=06cbe8550324e0fd2290839bf3b9a92aa53b70ab'/>
<id>urn:sha1:06cbe8550324e0fd2290839bf3b9a92aa53b70ab</id>
<content type='text'>
git init --shared=0xxx, where '0xxx' is an octal number, will create
a repository with file modes set to '0xxx'. Users with a safe umask
value (0077) can use this option to force file modes. For example,
'0640' is a group-readable but not group-writable regardless of
user's umask value. Values compatible with old Git versions are written
as they were before, for compatibility reasons. That is, "1" for
"group" and "2" for "everybody".

"git config core.sharedRepository 0xxx" is also handled.

Signed-off-by: Heikki Orsila &lt;heikki.orsila@iki.fi&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
