<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - noah</title>
<link>http://snipplr.com/users/noah/tags/git</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Tue, 14 Feb 2012 19:26:18 GMT</pubDate>
<item>
<title>(Bash) .gitconfig aliases, including Undo Last Commit</title>
<link>http://snipplr.com/view/15428/gitconfig-aliases-including-undo-last-commit/</link>
<description><![CDATA[ <p>To set these aliases globally, put this in ~/.gitconfig.  Or just put it in the local .gitconfig of a repo to try the settings locally.</p> ]]></description>
<pubDate>Mon, 01 Jun 2009 10:25:33 GMT</pubDate>
<guid>http://snipplr.com/view/15428/gitconfig-aliases-including-undo-last-commit/</guid>
</item>
<item>
<title>(Bash) git undo last commit</title>
<link>http://snipplr.com/view/15420/git-undo-last-commit/</link>
<description><![CDATA[ <p>To add an _undo_ command to Git, use 

          git config --global alias.undo 'reset --soft HEAD^'

then just type `git undo` to get rid of the last commit.

Type [`git help reset`](http://www.kernel.org/pub/software/scm/git/docs/v1.0.13/git-reset.html) for the rest of the documentation.</p> ]]></description>
<pubDate>Sun, 31 May 2009 14:18:01 GMT</pubDate>
<guid>http://snipplr.com/view/15420/git-undo-last-commit/</guid>
</item>
<item>
<title>(SVN) Remove .svn directories</title>
<link>http://snipplr.com/view/12256/remove-svn-directories/</link>
<description><![CDATA[ <p>Although, using `svn export` avoids having to get rid of .svn directories in the first place.</p> ]]></description>
<pubDate>Mon, 16 Feb 2009 13:26:58 GMT</pubDate>
<guid>http://snipplr.com/view/12256/remove-svn-directories/</guid>
</item>
</channel>
</rss>
