How to make public repository GIT_DIR=my-git.git git-init Command not found.
Hi,
I want to make a public repository. I followed the instructions in gitcore-tutorial. I typed "GIT_DIR=my-git.git git init" per instruction. But, I got command not found. I do not think this is the correct command. How should I do? I use C-Shell.
http://manpages.ubuntu.com/manpages/intrepid/man7/gitcore-tutorial.html
%mkdir my-git.git
%GIT_DIR=my-git.git git init
GIT_DIR=my-git.git: Command not found.
Thank you,
Gary
Quoted 10 lines · Gary Yang
Hi,
I want to make a public repository. I followed the instructions in gitcore-tutorial. I typed "GIT_DIR=my-git.git git init" per instruction. But, I got command not found. I do not think this is the correct command. How should I do? I use C-Shell.
http://manpages.ubuntu.com/manpages/intrepid/man7/gitcore-tutorial.html
%mkdir my-git.git
%GIT_DIR=my-git.git git initGIT_DIR=my-git.git: Command not found.
Instead you can do:
$ git --git-dir=my-git.git init
The --git-dir option does the same thing that GIT_DIR= was doing in a Bourne shell.
Signature · 1 line
Shawn.
The command, "git --git-dir=my-git.git init" works. But, I got another error.
http://manpages.ubuntu.com/manpages/intrepid/man7/gitcore-tutorial.html
The document says that, Your "public repository" is now ready to accept your changes. Come back to the machine you have your private repository. From there, run this
command:
$ git push <public-host>:/path/to/my-git.git master
However, I got "fatal: Not a git repository" error. Do you have any idea?
git push linuxgit01:/pub/git/u-boot.git master
fatal: Not a git repository
inuxgit01 is the box I ran the command, "git --git-dir=u-boot.git init".
Thanks,
Gary
Quoted 32 lines · Shawn O. Pearce
From: Shawn O. Pearce <[email protected]>
Subject: Re: How to make public repository GIT_DIR=my-git.git git-init Command not found.
To: "Gary Yang" <[email protected]>
Cc: [email protected]
Date: Tuesday, November 18, 2008, 3:19 PMQuoted 3 lines · Gary Yang
Hi,
I want to make a public repository. I followed the
instructions in gitcore-tutorial. I typed "GIT_DIR=my-git.git git init" per instruction. But, I got command not found. I do not think this is the correct command. How should I do? I use C-Shell.
Quoted 2 lines
http://manpages.ubuntu.com/manpages/intrepid/man7/gitcore-tutorial.html
Quoted 5 lines
%mkdir my-git.git
%GIT_DIR=my-git.git git initGIT_DIR=my-git.git: Command not found.
Instead you can do:
$ git --git-dir=my-git.git initThe --git-dir option does the same thing that GIT_DIR= was doing
in a Bourne shell.Signature · 1 line
Shawn.
inuxgit01 is the box I want to make public repository. At my own box, linux12, I ran the command, git push linuxgit01:/pub/git/u-boot.git master
What I did wrong?
Thanks.
Quoted 88 lines · Gary Yang
From: Gary Yang <[email protected]>
Subject: Re: How to make public repository GIT_DIR=my-git.git git-init Command not found.
To: "Shawn O. Pearce" <[email protected]>
Cc: [email protected]
Date: Tuesday, November 18, 2008, 5:21 PM
The command, "git --git-dir=my-git.git init"
works. But, I got another error.http://manpages.ubuntu.com/manpages/intrepid/man7/gitcore-tutorial.html
The document says that, Your "public repository" is now ready to accept your changes. Come back to the machine you have your private repository. From there, run this
command:$ git push
<public-host>:/path/to/my-git.git masterHowever, I got "fatal: Not a git repository"
error. Do you have any idea?git push linuxgit01:/pub/git/u-boot.git master
fatal: Not a git repositoryinuxgit01 is the box I ran the command, "git
--git-dir=u-boot.git init".Thanks,
Gary
--- On Tue, 11/18/08, Shawn O. Pearce
Quoted 2 lines · <[email protected]> wrote:
From: Shawn O. Pearce <[email protected]>
Subject: Re: How to make public repositoryGIT_DIR=my-git.git git-init Command not found.
Quoted 7 lines
To: "Gary Yang" <[email protected]>
Cc: [email protected]
Date: Tuesday, November 18, 2008, 3:19 PMQuoted 3 lines · Gary Yang
Hi,
I want to make a public repository. I followed
the
Quoted 2 lines
instructions in gitcore-tutorial. I typed
"GIT_DIR=my-git.git git init" perinstruction.
Quoted 1 line
But, I got command not found. I do not think this is
the
Quoted 4 lines
correct command. How should I do? I use C-Shell.
Quoted 2 lines
http://manpages.ubuntu.com/manpages/intrepid/man7/gitcore-tutorial.html
Quoted 11 lines
Quoted 5 lines
%mkdir my-git.git
%GIT_DIR=my-git.git git initGIT_DIR=my-git.git: Command not found.
Instead you can do:
$ git --git-dir=my-git.git initThe --git-dir option does the same thing that GIT_DIR=
was
Quoted 5 lines
doing
in a Bourne shell.Signature · 1 line
Shawn.--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected] More majordomo info at
http://vger.kernel.org/majordomo-info.html
Never mind. I figured it out. I need to cd to u-boot.git (my local git repository, the run the command, git push linuxgit01:/pub/git/u-boot.git master.
Quoted 123 lines · Gary Yang
From: Gary Yang <[email protected]>
Subject: Re: How to make public repository GIT_DIR=my-git.git git-init Command not found.
To: "Shawn O. Pearce" <[email protected]>
Cc: [email protected]
Date: Tuesday, November 18, 2008, 5:28 PM
inuxgit01 is the box I want to make public repository. At my
own box, linux12, I ran the command, git push linuxgit01:/pub/git/u-boot.git masterWhat I did wrong?
Thanks.
--- On Tue, 11/18/08, Gary Yang <[email protected]>
Quoted 2 lines · wrote:
From: Gary Yang <[email protected]>
Subject: Re: How to make public repositoryGIT_DIR=my-git.git git-init Command not found.
Quoted 1 line
To: "Shawn O. Pearce"
Quoted 6 lines
Cc: [email protected]
Date: Tuesday, November 18, 2008, 5:21 PM
The command, "git --git-dir=my-git.git init" works. But, I got another error.http://manpages.ubuntu.com/manpages/intrepid/man7/gitcore-tutorial.html
Quoted 2 lines
The document says that, Your "public
repository"
Quoted 2 lines
is now ready to accept your changes. Come back to the machine you have your private repository. From there,
run
Quoted 25 lines
this
command:$ git push
<public-host>:/path/to/my-git.git masterHowever, I got "fatal: Not a git repository" error. Do you have any idea?
git push linuxgit01:/pub/git/u-boot.git master
fatal: Not a git repositoryinuxgit01 is the box I ran the command, "git --git-dir=u-boot.git init".
Thanks,
Gary
Quoted 7 lines
--- On Tue, 11/18/08, Shawn O. Pearce
Quoted 2 lines · <[email protected]> wrote:
From: Shawn O. Pearce <[email protected]>
Subject: Re: How to make public repositoryGIT_DIR=my-git.git git-init Command not found.
Quoted 1 line
To: "Gary Yang"
Quoted 6 lines
Quoted 6 lines
Cc: [email protected]
Date: Tuesday, November 18, 2008, 3:19 PMQuoted 3 lines · Gary Yang
Hi,
I want to make a public repository. I
followed
Quoted 5 lines
the
Quoted 2 lines
instructions in gitcore-tutorial. I typed
"GIT_DIR=my-git.git git init" perinstruction.
Quoted 1 line
But, I got command not found. I do not think this
is
Quoted 6 lines
the
Quoted 4 lines
correct command. How should I do? I use C-Shell.
Quoted 2 lines
http://manpages.ubuntu.com/manpages/intrepid/man7/gitcore-tutorial.html
Quoted 11 lines
Quoted 11 lines
Quoted 5 lines
%mkdir my-git.git
%GIT_DIR=my-git.git git initGIT_DIR=my-git.git: Command not found.
Instead you can do:
$ git --git-dir=my-git.git initThe --git-dir option does the same thing that
GIT_DIR=
Quoted 9 lines
was
Quoted 5 lines
doing
in a Bourne shell.Signature · 1 line
Shawn.Quoted 6 lines
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected] More majordomo info at
http://vger.kernel.org/majordomo-info.html--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected] More majordomo info at
http://vger.kernel.org/majordomo-info.html
2008/11/19 Gary Yang <[email protected]>:
Quoted 5 lines
Hi,
I want to make a public repository. I followed the instructions in gitcore-tutorial. I typed "GIT_DIR=my-git.git git init" per instruction. But, I got command not found. I do not think this is the correct command. How should I do? I use C-Shell.
git --bare init