git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Newbie to git

From
Mmysql.jorge@decimal.pt <mysql.jorge@decimal.pt>
Date
Dec 27, 2009, 23:00 UTC
Message-ID
<ecddd9ed719d3d854b2248970cdb9cdf@192.168.1.222>
In-Reply-To
<m27hs8t5b7.fsf@whitebox.home>
Hi Andreas,
> You probably want to create a bare repository in this directory:
> 
> $ git init --bare foo.git
> 

Ok one more point, seams to be that! Forgive my really newbie question:

not i have: /home/apache/gitprojects/mydir.git

created with: git init --base mydir.git
Now, inside here, what should i do to create my projects:

mkdir myproject1 cd myproject1 git init touch a.txt git add . git commit -m "1st commit"

am i correct or not really?
Previous: Andreas SchwabNext: Junio C Hamano
Message 6 of 12 in “Newbie to git”
  1. Jorge BastosDec 27, 2009
  2. mysql.jorge@decimal.ptDec 27, 2009
  3. Howard MillerDec 27, 2009
  4. mysql.jorge@decimal.ptDec 27, 2009
  5. Andreas SchwabDec 27, 2009
  6. mysql.jorge@decimal.ptDec 27, 2009
  7. Junio C HamanoDec 28, 2009
  8. mysql.jorge@decimal.ptDec 28, 2009
  9. Eugene SajineDec 28, 2009
  10. Jorge BastosDec 28, 2009
  11. Shantanu PavgiDec 28, 2009
  12. Jorge BastosDec 29, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.