<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>4's symfony blog &#187; id</title>
	<atom:link href="http://www.foolbirds.com/t/id/feed" rel="self" type="application/rss+xml" />
	<link>http://www.foolbirds.com</link>
	<description>all about symfony</description>
	<lastBuildDate>Fri, 14 Oct 2011 12:36:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>git中使用$Id$显示版本号</title>
		<link>http://www.foolbirds.com/git-show-version.html</link>
		<comments>http://www.foolbirds.com/git-show-version.html#comments</comments>
		<pubDate>Wed, 21 Apr 2010 05:48:58 +0000</pubDate>
		<dc:creator>maker</dc:creator>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[id]]></category>
		<category><![CDATA[ident]]></category>

		<guid isPermaLink="false">http://www.foolbirds.com/?p=1004</guid>
		<description><![CDATA[在需要使用该功能的目录下创建.gitattributes文件并在.gitattributes中添加ident属性：

* ident
这样在任何文件中都可以使用$Id$来显示当前文件最后修改的版本号。
如果项目是从svn或者其他版本控制系统移植过来的可能文件中已经有了版本信息，比如
/*
 * $Id: abcdefghijklmn $
 */
象这样的版本信息git会自动识别并替换成git下的版本，当然前提是这个文件有过修改或者提交。
版本控制工具GIT的使用（二）主机打补丁版本控制工具GIT的使用（一）分机打补丁]]></description>
			<content:encoded><![CDATA[<p>在需要使用该功能的目录下创建.gitattributes文件并在.gitattributes中添加ident属性：</p>
<blockquote><p>
* ident</p></blockquote>
<p>这样在任何文件中都可以使用$Id$来显示当前文件最后修改的版本号。<br />
如果项目是从svn或者其他版本控制系统移植过来的可能文件中已经有了版本信息，比如</p>
<blockquote><p>/*<br />
 * $Id: abcdefghijklmn $<br />
 */</p></blockquote>
<p>象这样的版本信息git会自动识别并替换成git下的版本，当然前提是这个文件有过修改或者提交。</p>
<ul class="related_post"><li><a href="http://www.foolbirds.com/%e7%89%88%e6%9c%ac%e6%8e%a7%e5%88%b6%e5%b7%a5%e5%85%b7git%e7%9a%84%e4%bd%bf%e7%94%a8%ef%bc%88%e4%ba%8c%ef%bc%89%e4%b8%bb%e6%9c%ba%e6%89%93%e8%a1%a5%e4%b8%81.html" title="版本控制工具GIT的使用（二）主机打补丁">版本控制工具GIT的使用（二）主机打补丁</a></li><li><a href="http://www.foolbirds.com/git-patch.html" title="版本控制工具GIT的使用（一）分机打补丁">版本控制工具GIT的使用（一）分机打补丁</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.foolbirds.com/git-show-version.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

