<?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>ourlil.com &#187; dev</title>
	<atom:link href="http://OurLil.com/blog/tag/dev/feed/" rel="self" type="application/rss+xml" />
	<link>http://OurLil.com</link>
	<description>A web site for tutti noi (all of us!)</description>
	<lastBuildDate>Fri, 27 Apr 2012 04:06:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Subversion Cheat Sheet</title>
		<link>http://OurLil.com/blog/subversion-cheat-sheet/354/</link>
		<comments>http://OurLil.com/blog/subversion-cheat-sheet/354/#comments</comments>
		<pubDate>Wed, 07 Jan 2009 16:50:26 +0000</pubDate>
		<dc:creator>webmaestro</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://clay.freedomblogging.com/2009/01/07/subversion-cheat-sheet/354/</guid>
		<description><![CDATA[Subversion Cheat Sheet This Subversion cheat sheet was created during the initial setup of Subversion on Apache 2.0 on Windows and Mac OS X. A detailed tutorial covering most of the features of Subversion can be found in the online Subversion book. However, to make Subversion more useful for me, I created this Readers&#8217; Digest [...]]]></description>
			<content:encoded><![CDATA[<h2>Subversion Cheat Sheet</h2>
<p><a title="Subversion Cheat Sheet" href="http://www.abbeyworkshop.com/howto/misc/svn01/" target="_blank"><img class="alignright" src="http://www.abbeyworkshop.com/howto/misc/svn01/svndirs.png" alt="Graphic showing SVN hierarchy" width="322" height="462" /></a></p>
<p>This <a title="Subversion Cheat Sheet" href="http://www.abbeyworkshop.com/howto/misc/svn01/" target="_blank">Subversion cheat sheet</a> was created during the initial setup of Subversion on Apache 2.0 on Windows and Mac OS X. A detailed tutorial covering most of the features of Subversion can be found in the <a href="http://svnbook.red-bean.com/">online Subversion book</a>. However, to make Subversion more useful for me, I created this Readers&#8217; Digest version.</p>
<h3>Checking Out a Project &#8211; <code>svn checkout</code></h3>
<p>To start using the version control features check out a project into your local working directory. This is done with the following command:</p>
<h5>UNIX</h5>
<p><code> svn checkout file:///repository_name/project/trunk project </code></p>
<h5>Windows</h5>
<p><code> svn checkout file:///d:/repository_name/project/trunk project </code></p>
<h5>Network</h5>
<p><code> svn checkout http://host_name/svn_dir/repository_name/project/trunk project </code></p>
<h3>Reviewing Changes &#8211; <code> svn status</code></h3>
<p>To see what files you have changed or added to your checked out work, use the update command:</p>
<h5>UNIX</h5>
<p><code> svn status </code></p>
<p><code> svn status -u</code></p>
<p>This command will give you a listing of new files, files that have been changed, and files that have been deleted. New files or deleted files must be added or removed using the add and delete commands (see more below.)</p>
<h3>Committing Changes &#8211; <code> svn commit</code></h3>
<p>Once you have added, deleted, or changed files or directories, you can then commit those changes to the repository. This command is pretty straightforward:</p>
<h5>Network</h5>
<p><code> svn commit -m "Saving recent changes" http://localhost/svn_dir/repository/project_dir </code></p>
<h3>Updating Your Local Files &#8211; <code> svn update</code></h3>
<p>If you have a set of files checked out and would like to update them to the most recent version of files in the repository, use the update command.</p>
<h5>Network</h5>
<p><code> svn update </code></p>
<p>If there are newer files in the repository, they will overwrite any files you have locally. Before using this command, you may want to use the svn diff command to find out what the differences are between your local files and the repository.</p>
<h3>Tagging Projects or Creating Project Specific Versions</h3>
<p>Subversion does not track the version numbers for individual projects automatically. Instead, it tracks each update to the repository and tracks the versions of these updates. To create interim project releases, you must create &#8220;Tags&#8221; which identify a specify version of a project. This is done by making a virtual copy of a project in the tags directory. For example:</p>
<p><strong> <code> svn copy http://host_name/repos/project/trunk http://host_name/repos/project/tags/0.1.0 -m "Tagging the 0.1.0 release of the project" </code></strong></p>
<p>This creates a sort of bookmark or snapshot which records the current state of the project. Then, you can checkout the project in this state at any time by simply referring to that release number.</p>
<p>To get a list of the releases for a project.</p>
<p><code> <strong>svn list http://192.168.0.4/svn/repos/prj1/tags</strong><br />
0.1.0/ </code></p>
]]></content:encoded>
			<wfw:commentRss>http://OurLil.com/blog/subversion-cheat-sheet/354/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

