<?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>Vinsol - Leading Ruby on Rails Development and Consulting Firm in India &#187; VCS</title>
	<atom:link href="http://vinsol.com/blog/category/vcs/feed/" rel="self" type="application/rss+xml" />
	<link>http://vinsol.com/blog</link>
	<description></description>
	<lastBuildDate>Wed, 11 Jan 2012 06:07:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Git Error: trailing whitespace, indent SP followed by a TAB, unresolved merge conflict</title>
		<link>http://vinsol.com/blog/2008/04/23/git-error-trailing-whitespace-indent-sp-followed-by-a-tab-unresolved-merge-conflict/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=git-error-trailing-whitespace-indent-sp-followed-by-a-tab-unresolved-merge-conflict</link>
		<comments>http://vinsol.com/blog/2008/04/23/git-error-trailing-whitespace-indent-sp-followed-by-a-tab-unresolved-merge-conflict/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 18:19:34 +0000</pubDate>
		<dc:creator>Akhil Bansal</dc:creator>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[RubyonRails]]></category>
		<category><![CDATA[SCM]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[VCS]]></category>
		<category><![CDATA[pre-commit]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://webonrails.com/2008/04/23/git-error-trailing-whitespace-indent-sp-followed-by-a-tab-unresolved-merge-conflict/</guid>
		<description><![CDATA[I have been using Git from last few days, and faced following errors while committing:
1) Trailing whitespace
2) Indent SP followed by a TAB
3) Unresolved merge conflict
The first error &#8220;Trailing whitespace&#8221; is because of carriage-return/line-feed(windows style line feed/end). To resolve this problem comment following lines(58-60) in .git/hooks/pre-commit file:

  if (/\s$/) {
    bad_line("trailing [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I have been using <a href="http://git.or.cz/" target ="_blank">Git</a> from last few days, and faced following errors while committing:</p>
<p>1) Trailing whitespace<br />
2) Indent SP followed by a TAB<br />
3) Unresolved merge conflict</p>
<p>The first error <strong>&#8220;Trailing whitespace&#8221;</strong> is because of carriage-return/line-feed(windows style line feed/end). To resolve this problem comment following <strong>lines(58-60) in .git/hooks/pre-commit file</strong>:</p>
<textarea name="code" class="c" cols="50" rows="10">
  if (/\s$/) {
    bad_line("trailing whitespace", $_);
 }
</textarea>
<p>The second one <strong>&#8220;Indent SP followed by a TAB&#8221;</strong> is because of leading spaces/tabs. To resolve this problem comment following <strong>lines(61-63) in .git/hooks/pre-commit file</strong>:</p>
<textarea name="code" class="c" cols="50" rows="10">
  if (/^\s*   /) {
    bad_line("indent SP followed by a TAB", $_);
  }
</textarea>
<p>The third one <strong>&#8220;Unresolved merge conflict&#8221;</strong> is because of seven or more successive  occurrence of = or < or > characters. Major chances of having seven = character in README or doc files. To resolve this problem replace following <strong>line(64) in .git/hooks/pre-commit file</strong>:</p>
<textarea name="code" class="c" cols="50" rows="10">
  if (/^(?:[<>=]){7}/) {
</textarea>
<p>by </p>
<textarea name="code" class="c" cols="50" rows="10">
  if (/^(?:[<>=]){7}$/) {
</textarea>
<p>These tricks worked for me, I hope it could help you.
</p>
]]></content:encoded>
			<wfw:commentRss>http://vinsol.com/blog/2008/04/23/git-error-trailing-whitespace-indent-sp-followed-by-a-tab-unresolved-merge-conflict/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rails Plugin Annotate Models For Spec And Spec Fixtures</title>
		<link>http://vinsol.com/blog/2008/04/23/rails-plugin-annotate-models-for-spec-and-spec-fixtures/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=rails-plugin-annotate-models-for-spec-and-spec-fixtures</link>
		<comments>http://vinsol.com/blog/2008/04/23/rails-plugin-annotate-models-for-spec-and-spec-fixtures/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 11:18:14 +0000</pubDate>
		<dc:creator>Akhil Bansal</dc:creator>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[RubyonRails]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[VCS]]></category>
		<category><![CDATA[annotate_models]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[rails plugins]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://webonrails.com/2008/04/23/rails-plugin-annotate-models-for-spec-and-spec-fixtures/</guid>
		<description><![CDATA[I have been using &#8220;Annotate Models&#8221; rails plugin written by Dave Thomas since I found it around one and half year ago. It really helps while writing fixtures. But if you use RSpec you might miss schema info at the top of your rspec fixture file as I do. So, today I modify the plugin [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I have been using &#8220;Annotate Models&#8221; rails plugin written by Dave Thomas since I found it around one and half year ago. It really helps while writing fixtures. But if you use RSpec you might miss schema info at the top of your rspec fixture file as I do. So, today I modify the plugin file so that it prepends schema info to spec file and fixture file. Below are the links of patch file:</p>
<p><a href="http://webonrails.com/wp-content/plugins/wp-downloadMonitor/download.php?id=9" title="Version 0.1 downloaded 42 times" >svn patch to add schema info to spec file and spec fixture file</a><br />
<a href="http://webonrails.com/wp-content/plugins/wp-downloadMonitor/download.php?id=10" title="Version 0.1 downloaded 44 times" >git patch to add schema info to spec file and spec fixture file</a>
</p>
]]></content:encoded>
			<wfw:commentRss>http://vinsol.com/blog/2008/04/23/rails-plugin-annotate-models-for-spec-and-spec-fixtures/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Git &#8211; Fast Version Control System</title>
		<link>http://vinsol.com/blog/2008/02/14/git-fast-version-control-system/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=git-fast-version-control-system</link>
		<comments>http://vinsol.com/blog/2008/02/14/git-fast-version-control-system/#comments</comments>
		<pubDate>Thu, 14 Feb 2008 19:11:01 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[SCM]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[VCS]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://webonrails.com/2008/02/15/git-fast-version-control-system/</guid>
		<description><![CDATA[Git is getting popular in Rails community these days, as there were being many changes in rails to support Git.
Git is a open sourse fast version controller system. It was originally designed by Linus Torvalds to handle large projects. It was inspired by Monotone &#038; BitKeeper. It is a distributed version controlling system. It gives [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><a href="http://git.or.cz/">Git</a> is getting popular in Rails community these days, as there were being many <a href="http://dev.rubyonrails.org/changeset/8772">changes</a> in rails to support Git.<br />
Git is a open sourse fast version controller system. It was originally designed by Linus Torvalds to handle large projects. It was inspired by Monotone &#038; BitKeeper. It is a distributed version controlling system. It gives you ability to commit, traverse into history while being offline. Actually every working copy of Git is a full-fledged repository. It has no central server like <a href="http://subversion.tigris.org/">SVN</a>. One can share his working-copy/repository by using various protocols like ssh, http, ftp etc. One thing I like about Git over SVN is that the size of Git&#8217;s repository, which is smaller compared to SVN.</p>
<p>I gave an introductory presentation in <a href="http://vinsol.com/">VinSol</a>. I am sharing it with you, this is not very explanatory as I focused on speech more. Please share your views.VinSol</p>
<div style="width:425px;text-align:left" id="__ss_354888"><object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slideshare.net/swf/ssplayer2.swf?doc=git1-1208284093507575-8"/><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slideshare.net/swf/ssplayer2.swf?doc=git1-1208284093507575-8" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object><div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;"><a href="http://www.slideshare.net/?src=embed"><img src="http://static.slideshare.net/swf/logo_embd.png" style="border:0px none;margin-bottom:-5px" alt="SlideShare"/></a> | <a href="http://www.slideshare.net/bansalakhil/git-fast-version-control-system-354888?src=embed" title="View 'Git- Fast version control system' on SlideShare">View</a> | <a href="http://www.slideshare.net/upload?src=embed">Upload your own</a></div></div>]]></content:encoded>
			<wfw:commentRss>http://vinsol.com/blog/2008/02/14/git-fast-version-control-system/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

