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

Re: Using git with Eclipse

From
Shawn O. Pearce <spearce@spearce.org>
Date
Dec 11, 2007, 02:44 UTC
Message-ID
<20071211024442.GJ14735@spearce.org>
In-Reply-To
<475DC0CE.9070109@saville.com>
Wink Saville <wink@saville.com> wrote:
> I'm trying to use git on an Eclipse workspace and the .metadata 
> directory is chock full of files and was wondering what, if anything, 
> should be ignored. At the moment .history looks like a candidate for 
> ignoring there are probably others.

Ignore all of .metadata; its Eclipse private state that you don't want to version. I'd add it to .git/info/exclude so its ignored only in the repository that is using Eclipse, rather than in .gitignore (which is published).

-- 
Shawn.
Previous: Wink SavilleNext: Wink Saville
Message 2 of 8 in “Using git with Eclipse”
  1. Wink SavilleDec 10, 2007
  2. Shawn O. PearceDec 11, 2007
  3. Wink SavilleDec 11, 2007
  4. Jing XueDec 11, 2007
  5. Robin RosenbergDec 12, 2007
  6. Wink SavilleDec 12, 2007
  7. Robin RosenbergDec 13, 2007
  8. Wink SavilleDec 13, 2007

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.