<?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>petersteinberger.com &#187; git</title>
	<atom:link href="http://petersteinberger.com/category/git/feed/" rel="self" type="application/rss+xml" />
	<link>http://petersteinberger.com</link>
	<description>bits about life, coding and stuff</description>
	<lastBuildDate>Fri, 13 Jan 2012 16:32:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Reset incorrect commit messages in git</title>
		<link>http://petersteinberger.com/2010/03/reset-incorrect-commit-messages-in-git/</link>
		<comments>http://petersteinberger.com/2010/03/reset-incorrect-commit-messages-in-git/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 09:15:00 +0000</pubDate>
		<dc:creator>studpete</dc:creator>
				<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://petersteinberger.com/?p=720</guid>
		<description><![CDATA[Made a typo? Forgot something? If you didn&#8217;t push your changes, it&#8217;s that easy: git commit &#8211;amend -m &#8220;your new message&#8221; Further, _any_ commit can be changed with the right commands. But that&#8217;s dangerous and breaks history (if others pulled from you) No related posts.
No related posts.]]></description>
			<content:encoded><![CDATA[<p>Made a typo? Forgot something? If you didn&#8217;t push your changes, it&#8217;s that easy:</p>
<blockquote><p>git commit &#8211;amend -m &#8220;your new message&#8221;</p></blockquote>
<p>Further, <a href="http://stackoverflow.com/questions/179123/how-do-i-edit-an-incorrect-commit-message-in-git" target="_blank" class="liexternal">_any_ commit can be changed</a> with the right commands. But that&#8217;s dangerous and breaks history (if others pulled from you)</p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://petersteinberger.com/2010/03/reset-incorrect-commit-messages-in-git/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convert mercurial repos to git</title>
		<link>http://petersteinberger.com/2010/03/convert-mercurial-repos-to-git/</link>
		<comments>http://petersteinberger.com/2010/03/convert-mercurial-repos-to-git/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 19:25:18 +0000</pubDate>
		<dc:creator>studpete</dc:creator>
				<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://petersteinberger.com/?p=703</guid>
		<description><![CDATA[Because I want all my submodules to be on the same SCM. And because git is awesome, and mercurial is just a bit less awesome. (don&#8217;t take it personal) Get hg-fast-export: git clone git://repo.or.cz/fast-export.git Go to your mercurial [sic!] repo. git init /path/to/hg-fast-export.sh -r /path/to/hg_repo win! add remaining files, commit and push to github! And if [...]
Related posts:<ol>
<li><a href='http://petersteinberger.com/2009/07/git-and-cvs-turnaround-guerilla-style/' rel='bookmark' title='git and cvs turnaround &#8216;guerilla style&#8217;'>git and cvs turnaround &#8216;guerilla style&#8217;</a></li>
<li><a href='http://petersteinberger.com/2009/07/fix-man-pages-in-mac-os-macports/' rel='bookmark' title='Fix man-pages in mac os &amp; macports'>Fix man-pages in mac os &#038; macports</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Because I want all my submodules to be on the same SCM. And because git is awesome, and mercurial is just a bit less awesome. (don&#8217;t take it personal)</p>
<ol>
<li>Get <a href="http://repo.or.cz/w/fast-export.git" target="_blank" class="liexternal">hg-fast-export</a>: git clone git://repo.or.cz/fast-export.git</li>
<li>Go to your mercurial [sic!] repo.</li>
<li>git init</li>
<li>/path/to/hg-fast-export.sh -r /path/to/hg_repo</li>
<li>win! add remaining files, commit and push to github!</li>
</ol>
<p>And if you are using macports you probably get this error instead:<br />
<code>ImportError: No module named mercurial</code><br />
That&#8217;s easy to fix. Add this to your ~/.bash_profile:<br />
[CC lang="bash"]<br />
export LC_CTYPE=en_US.UTF-8<br />
export LC_ALL=en_US.UTF-8<br />
export LANG=en_US.UTF-8<br />
export PYTHONPATH=/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages:/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mercurial:$PYTHONPATH<br />
[/CC]<br />
got that from <a href="http://hedonismbot.wordpress.com/2008/10/16/hg-fast-export-convert-mercurial-repositories-to-git-repositories/" target="_blank" class="liexternal">here</a> and the I<a href="http://stufftohelpyouout.blogspot.com/2010/03/converting-mercurial-repo-to-git.html" target="_blank" class="liexternal">mportError-fix from here</a>.</p>
<p>Related posts:<ol>
<li><a href='http://petersteinberger.com/2009/07/git-and-cvs-turnaround-guerilla-style/' rel='bookmark' title='git and cvs turnaround &#8216;guerilla style&#8217;'>git and cvs turnaround &#8216;guerilla style&#8217;</a></li>
<li><a href='http://petersteinberger.com/2009/07/fix-man-pages-in-mac-os-macports/' rel='bookmark' title='Fix man-pages in mac os &amp; macports'>Fix man-pages in mac os &#038; macports</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://petersteinberger.com/2010/03/convert-mercurial-repos-to-git/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to Mirror an SVN repository on GitHub</title>
		<link>http://petersteinberger.com/2010/01/how-to-mirror-an-svn-repository-on-github/</link>
		<comments>http://petersteinberger.com/2010/01/how-to-mirror-an-svn-repository-on-github/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 14:50:43 +0000</pubDate>
		<dc:creator>studpete</dc:creator>
				<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://petersteinberger.com/?p=564</guid>
		<description><![CDATA[Because GitHub is cool and sourceforge isn&#8217;t. (And i like to manage my submodules via git) Create your dir of choice git init git svn init -T  &#60;svnrepo&#62; git svn fetch git gc (to speed things up) git remote add origin &#60;yourgitpushurl&#62; git push origin master Keep stuff in sync git svn rebase git push [...]
Related posts:<ol>
<li><a href='http://petersteinberger.com/2009/03/git-git/' rel='bookmark' title='Git! Git!'>Git! Git!</a></li>
<li><a href='http://petersteinberger.com/2009/10/github-love-hate-relationship/' rel='bookmark' title='Github&#8230; love hate relationship'>Github&#8230; love hate relationship</a></li>
<li><a href='http://petersteinberger.com/2009/07/git-and-cvs-turnaround-guerilla-style/' rel='bookmark' title='git and cvs turnaround &#8216;guerilla style&#8217;'>git and cvs turnaround &#8216;guerilla style&#8217;</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Because <a href="http://github.com" target="_blank" class="liexternal">GitHub</a> is cool and <a href="http://sourceforge.net" target="_blank" class="liexternal">sourceforge</a> isn&#8217;t. (And i like to manage my submodules via git)</p>
<ul>
<li>Create your dir of choice</li>
<li>git init</li>
<li>git svn init -T  &lt;svnrepo&gt;</li>
<li>git svn fetch</li>
<li>git gc (to speed things up)</li>
<li>git remote add origin &lt;yourgitpushurl&gt;</li>
<li>git push origin master</li>
</ul>
<p>Keep stuff in sync</p>
<ul>
<li>git svn rebase</li>
<li>git push origin master</li>
</ul>
<p>That&#8217;s it, folks! Now you can be a cool GitHubber <img src='http://petersteinberger.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
Yeah, works for any other git repo too&#8230; btw here&#8217;s the <a href="http://www.icoretech.org/2009/08/how-to-mirror-a-svn-repository-on-github/" target="_blank" class="liexternal">original source</a>.</p>
<p>Related posts:<ol>
<li><a href='http://petersteinberger.com/2009/03/git-git/' rel='bookmark' title='Git! Git!'>Git! Git!</a></li>
<li><a href='http://petersteinberger.com/2009/10/github-love-hate-relationship/' rel='bookmark' title='Github&#8230; love hate relationship'>Github&#8230; love hate relationship</a></li>
<li><a href='http://petersteinberger.com/2009/07/git-and-cvs-turnaround-guerilla-style/' rel='bookmark' title='git and cvs turnaround &#8216;guerilla style&#8217;'>git and cvs turnaround &#8216;guerilla style&#8217;</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://petersteinberger.com/2010/01/how-to-mirror-an-svn-repository-on-github/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Github&#8230; love hate relationship</title>
		<link>http://petersteinberger.com/2009/10/github-love-hate-relationship/</link>
		<comments>http://petersteinberger.com/2009/10/github-love-hate-relationship/#comments</comments>
		<pubDate>Sun, 11 Oct 2009 18:32:48 +0000</pubDate>
		<dc:creator>studpete</dc:creator>
				<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://petersteinberger.com/?p=412</guid>
		<description><![CDATA[Can&#8217;t they just make it fast??? Related posts: How to Mirror an SVN repository on GitHub The Vendor Client relationship &#8211; in real world situations
Related posts:<ol>
<li><a href='http://petersteinberger.com/2010/01/how-to-mirror-an-svn-repository-on-github/' rel='bookmark' title='How to Mirror an SVN repository on GitHub'>How to Mirror an SVN repository on GitHub</a></li>
<li><a href='http://petersteinberger.com/2009/10/the-vendor-client-relationship-in-real-world-situations/' rel='bookmark' title='The Vendor Client relationship &#8211; in real world situations'>The Vendor Client relationship &#8211; in real world situations</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://petersteinberger.com/wp-content/uploads/2009/10/Screen-shot-2009-10-11-at-20.31.59.png" rel="lightbox[412]" title="Screen shot 2009-10-11 at 20.31.59" class="liimagelink"><img class="alignnone size-full wp-image-413" title="Screen shot 2009-10-11 at 20.31.59" src="http://petersteinberger.com/wp-content/uploads/2009/10/Screen-shot-2009-10-11-at-20.31.59.png" alt="Screen shot 2009-10-11 at 20.31.59" width="526" height="385" /></a></p>
<p>Can&#8217;t they just make it fast???</p>
<p>Related posts:<ol>
<li><a href='http://petersteinberger.com/2010/01/how-to-mirror-an-svn-repository-on-github/' rel='bookmark' title='How to Mirror an SVN repository on GitHub'>How to Mirror an SVN repository on GitHub</a></li>
<li><a href='http://petersteinberger.com/2009/10/the-vendor-client-relationship-in-real-world-situations/' rel='bookmark' title='The Vendor Client relationship &#8211; in real world situations'>The Vendor Client relationship &#8211; in real world situations</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://petersteinberger.com/2009/10/github-love-hate-relationship/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Global git ignore files</title>
		<link>http://petersteinberger.com/2009/10/global-git-ignore-files/</link>
		<comments>http://petersteinberger.com/2009/10/global-git-ignore-files/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 10:15:04 +0000</pubDate>
		<dc:creator>studpete</dc:creator>
				<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://petersteinberger.com/?p=391</guid>
		<description><![CDATA[Diclaimer: I shamelessly copied this article from freshsauce. Here&#8217;s how to set-up globally a set of excludes when using GIT, in this case setting up GIT to ignore .DS_Store files on a Mac. First add a common ignore file to the GIT configuration, in this case stored in the users home directory called .gitignore NOTE: you&#8217;ll [...]
Related posts:<ol>
<li><a href='http://petersteinberger.com/2011/12/use-xcodegit-to-automatically-version-your-apps/' rel='bookmark' title='Use Xcode+git to automatically version your apps'>Use Xcode+git to automatically version your apps</a></li>
<li><a href='http://petersteinberger.com/2009/10/managing-your-dot-files-with-git/' rel='bookmark' title='Managing your dot files with git'>Managing your dot files with git</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Diclaimer: <a href="http://www.freshsauce.co.uk/snippets/git-ignore-dsstore-files-globally-per-user_28" target="_blank" class="liexternal">I shamelessly copied this article from freshsauce.</a></p>
<p>Here&#8217;s how to set-up globally a set of excludes when using GIT, in this case setting up GIT to ignore .DS_Store files on a Mac.</p>
<p>First add a common ignore file to the GIT configuration, in this case stored in the users home directory called .gitignore</p>
<p>NOTE: you&#8217;ll need to use the Terminal application found in the Utilities directory of the Applications folder on your Mac to run these commands.<br />
<code><br />
git config --global core.excludesfile ~/.gitignore<br />
</code><br />
Next add the exclude line for .DS_Store to the .gitignore file either with your favourite editor or simply with this command which will create it if it doesn&#8217;t already exist as well.<br />
<code><br />
echo .DS_Store >> ~/.gitignore<br />
</code><br />
Your done!</p>
<p>Related posts:<ol>
<li><a href='http://petersteinberger.com/2011/12/use-xcodegit-to-automatically-version-your-apps/' rel='bookmark' title='Use Xcode+git to automatically version your apps'>Use Xcode+git to automatically version your apps</a></li>
<li><a href='http://petersteinberger.com/2009/10/managing-your-dot-files-with-git/' rel='bookmark' title='Managing your dot files with git'>Managing your dot files with git</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://petersteinberger.com/2009/10/global-git-ignore-files/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>git magic: undo/redo commits</title>
		<link>http://petersteinberger.com/2009/07/git-magic-undoredo-commits/</link>
		<comments>http://petersteinberger.com/2009/07/git-magic-undoredo-commits/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 10:40:44 +0000</pubDate>
		<dc:creator>studpete</dc:creator>
				<category><![CDATA[git]]></category>
		<category><![CDATA[Random Stuff]]></category>

		<guid isPermaLink="false">http://petersteinberger.com/?p=281</guid>
		<description><![CDATA[Needed some git magic today. Still feelin like Harry Potter VS Lord Voldemort (psssst. Hard fight, but won =) Remember (to myself) [CC] git reset &#8211;soft HEAD^ Undo commit &#038; keep changes in the working tree git reset &#8211;hard HEAD^ Reset the working tree to the last commit [/CC] Get the git magic! (or the [...]
Related posts:<ol>
<li><a href='http://petersteinberger.com/2009/07/git-and-cvs-turnaround-guerilla-style/' rel='bookmark' title='git and cvs turnaround &#8216;guerilla style&#8217;'>git and cvs turnaround &#8216;guerilla style&#8217;</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Needed some git magic today. Still feelin like Harry Potter VS Lord Voldemort (psssst. Hard fight, but won =)</p>
<p>Remember (to myself)</p>
<p>[CC]<br />
git reset &#8211;soft HEAD^   Undo commit &#038; keep changes in the working tree<br />
git reset &#8211;hard HEAD^   Reset the working tree to the last commit<br />
[/CC]</p>
<p><a href="http://www-cs-students.stanford.edu/~blynn/gitmagic/index.html" target="_blank" class="liexternal">Get the git magic!</a> (or the <a href="http://www-cs-students.stanford.edu/~blynn/gitmagic/book.pdf" class="lipdf">pdf</a>)</p>
<p>Theres also the <a href="http://book.git-scm.com/index.html" target="_blank" class="liexternal">Git Community Book</a></p>
<p>Related posts:<ol>
<li><a href='http://petersteinberger.com/2009/07/git-and-cvs-turnaround-guerilla-style/' rel='bookmark' title='git and cvs turnaround &#8216;guerilla style&#8217;'>git and cvs turnaround &#8216;guerilla style&#8217;</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://petersteinberger.com/2009/07/git-magic-undoredo-commits/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>git and cvs turnaround &#8216;guerilla style&#8217;</title>
		<link>http://petersteinberger.com/2009/07/git-and-cvs-turnaround-guerilla-style/</link>
		<comments>http://petersteinberger.com/2009/07/git-and-cvs-turnaround-guerilla-style/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 11:33:55 +0000</pubDate>
		<dc:creator>studpete</dc:creator>
				<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://petersteinberger.com/?p=203</guid>
		<description><![CDATA[This is about some real-life experience using git (for developing) and cvs (because you have to). Why? Because git is faster, easier, you are no longer dependent on a server and it&#8217;s just cool to leave stone age. I&#8217;m so sorry, Charlie Preparations I assume you have a working environment where git, cvs, cvsps is [...]
Related posts:<ol>
<li><a href='http://petersteinberger.com/2010/03/convert-mercurial-repos-to-git/' rel='bookmark' title='Convert mercurial repos to git'>Convert mercurial repos to git</a></li>
<li><a href='http://petersteinberger.com/2009/03/git-aliases-for-bash/' rel='bookmark' title='Git Aliases for bash'>Git Aliases for bash</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-209" title="sorrycharlie" src="http://petersteinberger.com/wp-content/uploads/2009/07/sorrycharlie.jpg" alt="sorrycharlie" width="383" height="480" /></p>
<p>This is about some real-life experience using git (for developing) and cvs (because you have to). Why? Because git is faster, easier, you are no longer dependent on a server and it&#8217;s just cool to <a href="http://kernel.org/pub/software/scm/git/docs/v1.0.13/cvs-migration.html" target="_blank" class="liexternal">leave stone age</a>. I&#8217;m so sorry, Charlie <img src='http://petersteinberger.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<h2>Preparations</h2>
<p>I assume you have a working environment where git, cvs, cvsps is installed. (use cygwin, macports, apt-get, &#8230;) If you access your cvs repository over ssh (:ext:), you have to <a href="http://stackoverflow.com/questions/7260/how-do-i-setup-public-key-authentication" target="_blank" class="liexternal">set-up a public key for ssh-agent</a> (git-cvsimport wants to log in without password request, and you&#8217;ll love it, too).</p>
<h2>Create a git repository from cvs</h2>
<p>If you are like me and connect via ssh, you should add this line to your ~/.bashrc &#8211; you&#8217;ll need it every time you make a rebase. (Or just export the variable for now)</p>
<p>[CC]<br />
export CVS_RSH=ssh<br />
[/CC]</p>
<p>Next, cd into the directory where you want your git repo.</p>
<p>[CC]<br />
export CVSROOT=:ext:username@server:/directory/dir/dir<br />
mkdir myproject.git<br />
git cvsimport -v -r cvs -k -d $CVSROOT myproject<br />
[/CC]</p>
<p>You can read all git cvsimport-options on the <a href="http://www.kernel.org/pub/software/scm/git/docs/git-cvsimport.html" target="_blank" class="liexternal">manpage</a>. The initial import may take a while, so get a coffee while it&#8217;s working.</p>
<h2>Tweaking the Config</h2>
<p>Setup some more cvs infos for git. (Type this in the console and it goes straight to .git/config &#8211; you can edit there anytime)</p>
<p>[CC]<br />
git config cvsimport.module cvs_module_to_checkout<br />
git config cvsimport.r cvs<br />
git config cvsimport.d $CVSROOT<br />
[/CC]</p>
<h2>Incremential Imports</h2>
<p>Make sure you are in the git root dir and on the master branch.<br />
[CC]<br />
git cvsimport<br />
[/CC]</p>
<h2>Code in git!</h2>
<p>Work in your git repo. Always use a branch &amp; checkin often. (see: <a href="http://ariejan.net/2009/06/08/best-practice-the-git-development-cycle/" target="_blank" class="liexternal">The Git development cycle</a>)</p>
<h2>Get the changes back into CVS</h2>
<p>You wanna be nice to Charlie? <a href="http://www.kernel.org/pub/software/scm/git/docs/git-cvsexportcommit.html" target="_blank" class="liexternal">git cvsexportcommit</a> is your friend. It exports A SINGLE commit back to cvs.</p>
<p>Before you export commits, you need a fresh cvs directory of your project. So find a convenient location and checkout in cvs:</p>
<p>[CC]<br />
cvs init<br />
cvs co myproject<br />
[/CC]</p>
<p>Then tell git where this checkout can be found (use pwd to get the full dir)</p>
<p>[CC]<br />
# within your git project directory<br />
git config cvsexportcommit.cvsdir /path/to/your/cvs/checkout/withmodule/<br />
[/CC]</p>
<p>Now we prepared everything. Note, as of git 1.5.6 you can combine both your git and your cvs directory with the option -W. <a href="http://blogs.frugalware.org/vmiklos/2008/06/14/new_in_git_1_5_6_git_cvsexportcommit_w" target="_blank" class="liexternal">Read this</a> for more info.</p>
<p>To export a single commit from git-&gt;cvs you can use this:</p>
<p>[CC]<br />
git cvsexportcommit -u -p -c 987654 (your sha-1 commit id)<br />
[/CC]</p>
<p>But you committed often, didn&#8217;t you? If you developed your feature in a branch and are about to merge, you can do it this way:</p>
<p>[CC]<br />
git checkout master<br />
git merge &#8211;no-ff &#8211;log -m &#8220;Optional commit message here&#8221; topic/branch/name<br />
git cvsexportcommit -u -p -c ORIG_HEAD HEAD<br />
[/CC]</p>
<p>Your branch is now merged and you can delete it with</p>
<p>[CC]<br />
git branch -D new_branch<br />
[/CC]</p>
<p>Need more Information? Stackoverflow has an <a href="http://stackoverflow.com/questions/584522/how-to-export-revision-history-from-mercurial-or-git-to-cvs/584567" target="_blank" class="liexternal">excellent article</a>!</p>
<p><strong>Update</strong>: You can automate this with a script. I put it in /opt/local/bin/gce</p>
<p>[CC]<br />
#!/bin/sh<br />
#<br />
# Export a branch from git to CVS.<br />
if test -z &#8220;$1&#8243;; then<br />
echo Incorrect number of arguments<br />
exit 1<br />
fi</p>
<p>git checkout master<br />
git merge &#8211;no-ff &#8211;log $1<br />
git cvsexportcommit -u -p -c ORIG_HEAD HEAD<br />
[/CC]</p>
<p>Make it executable:</p>
<p>[CC]<br />
sudo chmod /opt/local/bin/gce +x<br />
[/CC]</p>
<p>Now you can commit that way:</p>
<p>[CC]<br />
gce my_branch<br />
[/CC]</p>
<p>Related posts:<ol>
<li><a href='http://petersteinberger.com/2010/03/convert-mercurial-repos-to-git/' rel='bookmark' title='Convert mercurial repos to git'>Convert mercurial repos to git</a></li>
<li><a href='http://petersteinberger.com/2009/03/git-aliases-for-bash/' rel='bookmark' title='Git Aliases for bash'>Git Aliases for bash</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://petersteinberger.com/2009/07/git-and-cvs-turnaround-guerilla-style/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

