<?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>Duncan Mac-Vicar P. &#187; scm</title>
	<atom:link href="http://duncan.mac-vicar.com/blog/archives/tag/scm/feed" rel="self" type="application/rss+xml" />
	<link>http://duncan.mac-vicar.com/blog</link>
	<description>homepage</description>
	<lastBuildDate>Mon, 05 Jul 2010 13:04:54 +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>can&#8217;t remember your git branch?</title>
		<link>http://duncan.mac-vicar.com/blog/archives/318#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://duncan.mac-vicar.com/blog/archives/318#comments</comments>
		<pubDate>Fri, 06 Jun 2008 13:03:42 +0000</pubDate>
		<dc:creator>duncan</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[scm]]></category>
		<category><![CDATA[suse]]></category>

		<guid isPermaLink="false">http://duncan.mac-vicar.com/blog/?p=318</guid>
		<description><![CDATA[I always have the problem remembering in which branch I am, and typing git branch all the time sucks, so just add this to your profile: if [ -e /etc/bash_completion.d/git ] ; then source /etc/bash_completion.d/git export PS1='$(ppwd \l)\u@\h:\w$(__git_ps1 "(%s)")> ' fi And your prompt will look like this if you are in a git checkout: [...]]]></description>
			<content:encoded><![CDATA[<p>I always have the problem remembering in which branch I am, and typing git branch all the time sucks, so just add this to your profile:</p>

<pre>
if [ -e /etc/bash_completion.d/git ] ; then
  source /etc/bash_completion.d/git
  export PS1='$(ppwd \l)\u@\h:\w$(__git_ps1 "(%s)")> '
fi
</pre>

<p>And your prompt will look like this if you are in a git checkout:</p>

<pre>
dmacvicar@piscola:/space/git/suse/zypp(master)>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://duncan.mac-vicar.com/blog/archives/318/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
