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

Re: .gitignore behavior on Mac

From
Antony Male <antony.male@gmail.com>
Date
May 19, 2013, 10:54 UTC
Message-ID
<5198AF6C.8080402@gmail.com>
In-Reply-To
<CAEe6bfC6F3sN_OXZYo1=bdwo01_7qFUEmbSWVFNaFZQrZUGdWA@mail.gmail.com>
On 18/05/2013 23:37, Peter Lauri wrote:
Show 5 quoted lines
> Great, I have gotten the concept now :)
>
> My workaround for my problem is to rename the file to ....default and
> then all will work out well :) Copy the file then and locally modify
> it, but it will be in .gitignore so not tracked :)

Over in the #git IRC channel, we point users asking this question to https://gist.github.com/canton7/1423106. It contains that approach, and quite a few others.

Antony
Previous: Junio C Hamano
Message 8 of 8 in “.gitignore behavior on Mac”
  1. Peter LauriMay 18, 2013
  2. John KeepingMay 18, 2013
  3. Peter LauriMay 18, 2013
  4. John KeepingMay 18, 2013
  5. Johannes SixtMay 18, 2013
  6. Peter LauriMay 18, 2013
  7. Junio C HamanoMay 19, 2013
  8. Antony MaleMay 19, 2013

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.