<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: git ignore files</title>
	<atom:link href="http://tech.puredanger.com/index.php/2008/05/17/git-ignore-files/feed/" rel="self" type="application/rss+xml" />
	<link>http://tech.puredanger.com/2008/05/17/git-ignore-files/</link>
	<description>Alex Miller&#039;s technical blog</description>
	<lastBuildDate>Mon, 06 Feb 2012 19:39:50 -0800</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
	<item>
		<title>By: IdleWorx</title>
		<link>http://tech.puredanger.com/2008/05/17/git-ignore-files/comment-page-1/#comment-216331</link>
		<dc:creator>IdleWorx</dc:creator>
		<pubDate>Thu, 17 Jun 2010 20:08:38 +0000</pubDate>
		<guid isPermaLink="false">http://tech.puredanger.com/2008/05/17/git-ignore-files/#comment-216331</guid>
		<description>Your post was really useful. 
I was trying to figure out some things about ignoring CVS files when committing GIT projects on windows and found a few good pieces of information here, particularly about the excludesfile property (which is a little hard to understand from the docs).

I recently wrote a similar post regarding ignore files on Windows, with some inspiration from yours. Let me know what you think.

http://blog.idleworx.com/2010/06/setting-up-gitignore-for-java-web.html</description>
		<content:encoded><![CDATA[<p>Your post was really useful.<br />
I was trying to figure out some things about ignoring CVS files when committing GIT projects on windows and found a few good pieces of information here, particularly about the excludesfile property (which is a little hard to understand from the docs).</p>
<p>I recently wrote a similar post regarding ignore files on Windows, with some inspiration from yours. Let me know what you think.</p>
<p><a href="http://blog.idleworx.com/2010/06/setting-up-gitignore-for-java-web.html" rel="nofollow">http://blog.idleworx.com/2010/06/setting-up-gitignore-for-java-web.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: uxp</title>
		<link>http://tech.puredanger.com/2008/05/17/git-ignore-files/comment-page-1/#comment-182009</link>
		<dc:creator>uxp</dc:creator>
		<pubDate>Thu, 03 Dec 2009 06:44:42 +0000</pubDate>
		<guid isPermaLink="false">http://tech.puredanger.com/2008/05/17/git-ignore-files/#comment-182009</guid>
		<description>To everyone that is having an issue with the:
git config --global core.excludes ...

command, it is because you are surrounding the path in quotes, which treats it as a literal string, instead of a path.

git config --global core.excludes ~/.gitignore

is the proper command. it can be substituted as:

git config --clobal core.excludes &quot;/home/username/.gitignore&quot;

but that is being treated as a literal, as explained. String literals and paths are mutually exclusive when they reference the same thing.</description>
		<content:encoded><![CDATA[<p>To everyone that is having an issue with the:<br />
git config &#8211;global core.excludes &#8230;</p>
<p>command, it is because you are surrounding the path in quotes, which treats it as a literal string, instead of a path.</p>
<p>git config &#8211;global core.excludes ~/.gitignore</p>
<p>is the proper command. it can be substituted as:</p>
<p>git config &#8211;clobal core.excludes &#8220;/home/username/.gitignore&#8221;</p>
<p>but that is being treated as a literal, as explained. String literals and paths are mutually exclusive when they reference the same thing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: finnw</title>
		<link>http://tech.puredanger.com/2008/05/17/git-ignore-files/comment-page-1/#comment-167656</link>
		<dc:creator>finnw</dc:creator>
		<pubDate>Tue, 23 Jun 2009 10:14:52 +0000</pubDate>
		<guid isPermaLink="false">http://tech.puredanger.com/2008/05/17/git-ignore-files/#comment-167656</guid>
		<description>Beware of UTF-8 byte-order marks at the start of your excludes file.  I just got bitten by this when my editor inserted a BOM.  It took me about an hour to figure out why git seemed to be paying no attention to the excludes file.</description>
		<content:encoded><![CDATA[<p>Beware of UTF-8 byte-order marks at the start of your excludes file.  I just got bitten by this when my editor inserted a BOM.  It took me about an hour to figure out why git seemed to be paying no attention to the excludes file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: corysama</title>
		<link>http://tech.puredanger.com/2008/05/17/git-ignore-files/comment-page-1/#comment-147321</link>
		<dc:creator>corysama</dc:creator>
		<pubDate>Sat, 28 Feb 2009 05:28:28 +0000</pubDate>
		<guid isPermaLink="false">http://tech.puredanger.com/2008/05/17/git-ignore-files/#comment-147321</guid>
		<description>Putting quotes around the path for the excludesfile did not work for me.  Without the quotes, it does work however:

git config --global core.excludesfile /Users/corysama/.gitignore</description>
		<content:encoded><![CDATA[<p>Putting quotes around the path for the excludesfile did not work for me.  Without the quotes, it does work however:</p>
<p>git config &#8211;global core.excludesfile /Users/corysama/.gitignore</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nicolas rolland</title>
		<link>http://tech.puredanger.com/2008/05/17/git-ignore-files/comment-page-1/#comment-133305</link>
		<dc:creator>nicolas rolland</dc:creator>
		<pubDate>Sun, 11 Jan 2009 06:03:02 +0000</pubDate>
		<guid isPermaLink="false">http://tech.puredanger.com/2008/05/17/git-ignore-files/#comment-133305</guid>
		<description>Hello,

Thanks for the tip.
So a full path is indeed necessary.
In the end, I had to do 

git config --global core.excludesfile &quot;&lt;b&gt;/Users/nrolland/&lt;/b&gt;.gitignore&quot;

and the content of the .gitignore file is 
macflashy:~ nrolland$ cat ~/.gitignore 
*.o
build/**/*
.DS_Store
*.app
*.swp
*~.nib
*.pbxuser
*.perspective
*.perspectivev3
*.mode1v3
*.mode2v3</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Thanks for the tip.<br />
So a full path is indeed necessary.<br />
In the end, I had to do </p>
<p>git config &#8211;global core.excludesfile &#8220;<b>/Users/nrolland/</b>.gitignore&#8221;</p>
<p>and the content of the .gitignore file is<br />
macflashy:~ nrolland$ cat ~/.gitignore<br />
*.o<br />
build/**/*<br />
.DS_Store<br />
*.app<br />
*.swp<br />
*~.nib<br />
*.pbxuser<br />
*.perspective<br />
*.perspectivev3<br />
*.mode1v3<br />
*.mode2v3</p>
]]></content:encoded>
	</item>
</channel>
</rss>

