<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/bash/tags/git</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 22 May 2013 12:34:24 GMT</pubDate>
<item>
<title>(Bash) git pre-commit hook print alert - lluis</title>
<link>http://snipplr.com/view/69114/git-precommit-hook-print-alert/</link>
<description><![CDATA[ <p>vim .git/hooks/pre-commit
chmod +x pre-commit

clean print's with
:lvim /print/gj ./**/*.*</p> ]]></description>
<pubDate>Fri, 14 Dec 2012 22:47:36 GMT</pubDate>
<guid>http://snipplr.com/view/69114/git-precommit-hook-print-alert/</guid>
</item>
<item>
<title>(Bash) Customized Sexy Bash  Prompt - Git branch/Status - oxnard</title>
<link>http://snipplr.com/view/68985/customized-sexy-bash--prompt--git-branchstatus/</link>
<description><![CDATA[ <p>customized version of Sexy Bash Prompt</p> ]]></description>
<pubDate>Thu, 06 Dec 2012 10:57:04 GMT</pubDate>
<guid>http://snipplr.com/view/68985/customized-sexy-bash--prompt--git-branchstatus/</guid>
</item>
<item>
<title>(Bash) GIT - How to get just one file from another branch - satie83</title>
<link>http://snipplr.com/view/66355/git--how-to-get-just-one-file-from-another-branch/</link>
<description><![CDATA[ <p>I am using git and working on master branch. This branch has a file called app.js .

I have an experiment branch in which I made a bunch of changes and tons of commit. Now I want to bring all the changes done only to app.js from experiment to master branch.</p> ]]></description>
<pubDate>Thu, 26 Jul 2012 22:39:35 GMT</pubDate>
<guid>http://snipplr.com/view/66355/git--how-to-get-just-one-file-from-another-branch/</guid>
</item>
<item>
<title>(Bash) GIT - Search trough all commits in the repository - satie83</title>
<link>http://snipplr.com/view/66289/git--search-trough-all-commits-in-the-repository/</link>
<description><![CDATA[ <p>I have a Git repository with few branches and dangling commits. I would like to search all such commits in repository for a specific string.</p> ]]></description>
<pubDate>Mon, 23 Jul 2012 19:30:34 GMT</pubDate>
<guid>http://snipplr.com/view/66289/git--search-trough-all-commits-in-the-repository/</guid>
</item>
<item>
<title>(Bash) GIT - List of stale remote-tracking branches - satie83</title>
<link>http://snipplr.com/view/66163/git--list-of-stale-remotetracking-branches/</link>
<description><![CDATA[ <p>You’ll receive a list of your stale remote-tracking branches. If you run it without –dry-run option, it will remove them for you.</p> ]]></description>
<pubDate>Mon, 16 Jul 2012 22:20:47 GMT</pubDate>
<guid>http://snipplr.com/view/66163/git--list-of-stale-remotetracking-branches/</guid>
</item>
<item>
<title>(Bash) GIT - Editing an incorrect commit message - satie83</title>
<link>http://snipplr.com/view/65952/git--editing-an-incorrect-commit-message/</link>
<description><![CDATA[ <p>It's necessary that the commit hasn't pushed by anyone</p> ]]></description>
<pubDate>Thu, 05 Jul 2012 01:57:55 GMT</pubDate>
<guid>http://snipplr.com/view/65952/git--editing-an-incorrect-commit-message/</guid>
</item>
<item>
<title>(Bash) GIT - Find out which is the remote branch, which is tracked by a local branch - satie83</title>
<link>http://snipplr.com/view/65834/git--find-out-which-is-the-remote-branch-which-is-tracked-by-a-local-branch/</link>
<description><![CDATA[ <p>This shows the local and remote branches along with the most recent commit for each branch.</p> ]]></description>
<pubDate>Wed, 27 Jun 2012 20:47:05 GMT</pubDate>
<guid>http://snipplr.com/view/65834/git--find-out-which-is-the-remote-branch-which-is-tracked-by-a-local-branch/</guid>
</item>
<item>
<title>(Bash) GIT - List all the files for a commit (or various commits) in git - satie83</title>
<link>http://snipplr.com/view/65726/git--list-all-the-files-for-a-commit-or-various-commits-in-git/</link>
<description><![CDATA[ <p>Hash of the commit which you want to  show a303aa90779efdd2f6b9d90693e2cbbbe4613c1d</p> ]]></description>
<pubDate>Thu, 21 Jun 2012 02:11:14 GMT</pubDate>
<guid>http://snipplr.com/view/65726/git--list-all-the-files-for-a-commit-or-various-commits-in-git/</guid>
</item>
<item>
<title>(Bash) Make git remote read-only - m1b</title>
<link>http://snipplr.com/view/64785/make-git-remote-readonly/</link>
<description><![CDATA[ <p>how to make the Git remote repository read-only by configuring a non-functional push URL</p> ]]></description>
<pubDate>Thu, 03 May 2012 04:11:20 GMT</pubDate>
<guid>http://snipplr.com/view/64785/make-git-remote-readonly/</guid>
</item>
<item>
<title>(Bash) GIT - How to track a remote branch - satie83</title>
<link>http://snipplr.com/view/64751/git--how-to-track-a-remote-branch/</link>
<description><![CDATA[ <p>How do you make an existing git branch track a remote branch</p> ]]></description>
<pubDate>Thu, 26 Apr 2012 22:55:05 GMT</pubDate>
<guid>http://snipplr.com/view/64751/git--how-to-track-a-remote-branch/</guid>
</item>
<item>
<title>(Bash) GIT - Undo a merge - satie83</title>
<link>http://snipplr.com/view/64269/git--undo-a-merge/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 01 Apr 2012 02:46:37 GMT</pubDate>
<guid>http://snipplr.com/view/64269/git--undo-a-merge/</guid>
</item>
<item>
<title>(Bash) GIT - Switch branch without committing - satie83</title>
<link>http://snipplr.com/view/64268/git--switch-branch-without-committing/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 01 Apr 2012 02:46:31 GMT</pubDate>
<guid>http://snipplr.com/view/64268/git--switch-branch-without-committing/</guid>
</item>
<item>
<title>(Bash) GIT - Rename a branch - satie83</title>
<link>http://snipplr.com/view/64267/git--rename-a-branch/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 01 Apr 2012 02:46:09 GMT</pubDate>
<guid>http://snipplr.com/view/64267/git--rename-a-branch/</guid>
</item>
<item>
<title>(Bash) GIT - List of git branches - satie83</title>
<link>http://snipplr.com/view/64241/git--list-of-git-branches/</link>
<description><![CDATA[ <p>I want to get a list of all the branches in a Git repository with the "freshest" branches at the top, where the "freshest" branch is the one that's been committed to most recently (and is, therefore, more likely to be one I want to pay attention to).</p> ]]></description>
<pubDate>Fri, 30 Mar 2012 20:09:45 GMT</pubDate>
<guid>http://snipplr.com/view/64241/git--list-of-git-branches/</guid>
</item>
<item>
<title>(Bash) bash script to backup github organisation repositories and member forks - slinky</title>
<link>http://snipplr.com/view/63919/bash-script-to-backup-github-organisation-repositories-and-member-forks/</link>
<description><![CDATA[ <p>A crude script to query the GitHub API for a given Organisation, and backup its repositories and associated members forks.</p> ]]></description>
<pubDate>Wed, 14 Mar 2012 08:36:15 GMT</pubDate>
<guid>http://snipplr.com/view/63919/bash-script-to-backup-github-organisation-repositories-and-member-forks/</guid>
</item>
<item>
<title>(Bash) Git prune remote and local branches - beneberle</title>
<link>http://snipplr.com/view/63735/git-prune-remote-and-local-branches/</link>
<description><![CDATA[ <p>http://yuji.wordpress.com/2010/06/11/git-delete-remote-branch/</p> ]]></description>
<pubDate>Wed, 07 Mar 2012 02:53:24 GMT</pubDate>
<guid>http://snipplr.com/view/63735/git-prune-remote-and-local-branches/</guid>
</item>
<item>
<title>(Bash) Git Rebase and Squash - beneberle</title>
<link>http://snipplr.com/view/63581/git-rebase-and-squash/</link>
<description><![CDATA[ <p>Combine multiple smaller incremental commits into larger ones, perfect for encouraging you to commit often while enabling you to summarize a day's work into one, or more, simplified commit.

WARNING: Only do this on commits that haven’t been pushed an external repository.</p> ]]></description>
<pubDate>Sun, 26 Feb 2012 07:26:41 GMT</pubDate>
<guid>http://snipplr.com/view/63581/git-rebase-and-squash/</guid>
</item>
<item>
<title>(Bash) adding gitk in the OS menu - ferro</title>
<link>http://snipplr.com/view/62989/adding-gitk-in-the-os-menu/</link>
<description><![CDATA[ <p>I create this script which let me add the gitk in the Programming Application menu in my gnome this way I don't need to open a shell and go to the repository base to view the rep tree</p> ]]></description>
<pubDate>Thu, 02 Feb 2012 04:03:02 GMT</pubDate>
<guid>http://snipplr.com/view/62989/adding-gitk-in-the-os-menu/</guid>
</item>
<item>
<title>(Bash) Perform git pull on subdirectory (recursive) - luizlopes</title>
<link>http://snipplr.com/view/62314/perform-git-pull-on-subdirectory-recursive/</link>
<description><![CDATA[ <p>A fast and easy way to go through all vim-pathogen bundles and perform a git pull on all of them.</p> ]]></description>
<pubDate>Thu, 05 Jan 2012 08:09:07 GMT</pubDate>
<guid>http://snipplr.com/view/62314/perform-git-pull-on-subdirectory-recursive/</guid>
</item>
<item>
<title>(Bash) Git show the full content of any file at any time in history - therobot</title>
<link>http://snipplr.com/view/62284/git-show-the-full-content-of-any-file-at-any-time-in-history/</link>
<description><![CDATA[ <p>Shows you the full contents of any file at any time in history</p> ]]></description>
<pubDate>Wed, 04 Jan 2012 04:12:50 GMT</pubDate>
<guid>http://snipplr.com/view/62284/git-show-the-full-content-of-any-file-at-any-time-in-history/</guid>
</item>
</channel>
</rss>