Re: bare --init Vs --init bare

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 19, 2008 at 7:53 PM, Luciano Rocha <luciano@xxxxxxxxxxx> wrote:
>
> Hello,
>

> This is odd:
> $ git init --bare
> usage: git-init [-q | --quiet] [--template=<template-directory>] [--shared]
> $ git --bare init
> Initialized empty Git repository in /tmp/1/

The first is a flag to the init subcommand (man git-init), and the
other is a flag to git (man git).

See also:

http://www.google.com/search?q=%22git+init+--bare%22+%22git+--bare+init%22

or equivalent

http://kerneltrap.org/mailarchive/git/2007/10/15/344050
"should git command and git-command be equivalent?"

Santi

>
> My git version:
> $ git --version
> git version 1.5.5.1.318.gc99b
>
> (Has two patches on top of origin's
> 377d9c409ffe0f0d994b929aeb94716139207b9d, setting default prefix in
> Makefile.)
>
> Regards,
> Luciano Rocha
>
> --
> Luciano Rocha <luciano@xxxxxxxxxxx>
> Eurotux Informática, S.A. <http://www.eurotux.com/>
>
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux