<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Chad R on Medium]]></title>
        <description><![CDATA[Stories by Chad R on Medium]]></description>
        <link>https://medium.com/@zed?source=rss-c41f00b0d9fa------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ibecamJGDYp7GrFhi1UsyQ.png</url>
            <title>Stories by Chad R on Medium</title>
            <link>https://medium.com/@zed?source=rss-c41f00b0d9fa------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 15 May 2026 15:51:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@zed/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com" rel="hub"/>
        <item>
            <title><![CDATA[Helpful Git Commands]]></title>
            <link>https://medium.com/@zed/helpful-git-commands-2710cc4fdcfd?source=rss-c41f00b0d9fa------2</link>
            <guid isPermaLink="false">https://medium.com/p/2710cc4fdcfd</guid>
            <category><![CDATA[git]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Chad R]]></dc:creator>
            <pubDate>Fri, 19 Feb 2016 21:01:11 GMT</pubDate>
            <atom:updated>2016-04-06T20:35:11.302Z</atom:updated>
            <content:encoded><![CDATA[<p>I assume pretty everyone is using git these days for source code control. Here are a list of pretty useful utilities that make git more pleasant to use.</p><p><em>Note: I didn’t create any of these. They’re mostly things I picked up from working at Twitter</em></p><p><strong>Add the branch name to your terminal prompt</strong></p><p><a href="http://martinfitzpatrick.name/article/add-git-branch-name-to-terminal-prompt-mac/">Add Git Branch Name to Terminal Prompt (Mac)</a></p><p>This simple set commands in your bash profile will automatically display your current branch name.</p><p><strong>Git Aliases</strong></p><p><a href="https://git-scm.com/book/en/v2/Git-Basics-Git-Aliases">Git - Git Aliases</a></p><p>It gets annoying after a while to have to type “git checkout” all the time. “git co” is easier.</p><p><strong>Git Branch Name Autocomplete</strong></p><p><a href="http://code-worrier.com/blog/autocomplete-git/">Quick Tip: Autocomplete Git Commands and Branch Names in Bash - Code Worrier</a></p><p>This utility makes switching branches more pleasant. Simply type “git co xx” and hit tab to get a list of branch names that match “xx”.</p><p>Putting it all together in a .bash_profile…</p><blockquote># Git branch in prompt.<br>parse_git_branch() {<br> git branch 2&gt; /dev/null | sed -e ‘/^[^*]/d’ -e ‘s/* \(.*\)/ (\1)/’<br>}<br>export PS1=”\u@\h \W\[\033[32m\]\$(parse_git_branch)\[\033[00m\] $ “</blockquote><blockquote># Add git auto completion to command line<br>if [ -f ~/.git-completion.bash ]; then<br> . ~/.git-completion.bash<br>fi</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2710cc4fdcfd" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>