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

Re: Push from specific directory.

From
NKNeal Kreitzinger <nkreitzinger@gmail.com>
Date
Mar 26, 2012, 14:41 UTC
Message-ID
<4F70802F.4020603@gmail.com>
In-Reply-To
<4F707CB4.3030308@ira.uka.de>
On 3/26/2012 9:27 AM, Holger Hellmuth wrote:
Show 11 quoted lines
> On 23.03.2012 16:30, Neal Kreitzinger wrote:
>
>> You would want to setup the gitignore before doing the init.
>
> Why that? "git init" doesn't add any files, the repo is still empty.
>
> I would even say "git init" helps because you get a comprehensive list 
> of non-ignored files with "git status" and can sift through that list 
> for files you want to be ignored
>
>
Thanks for correcting that.

v/r, neal

Previous: Holger Hellmuth
Message 11 of 11 in “Push from specific directory.”
  1. Anjib MulepatiMar 22, 2012
  2. Jeff KingMar 22, 2012
  3. Neal KreitzingerMar 22, 2012
  4. Jeff KingMar 22, 2012
  5. Neal KreitzingerMar 22, 2012
  6. Junio C HamanoMar 22, 2012
  7. Neal KreitzingerMar 23, 2012
  8. Neal KreitzingerMar 23, 2012
  9. Neal KreitzingerMar 23, 2012
  10. Holger HellmuthMar 26, 2012
  11. Neal KreitzingerMar 26, 2012

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.