<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Git on Laïla Atrmouh</title>
    <link>/en/tags/git/</link>
    <description>Recent content in Git on Laïla Atrmouh</description>
    <generator>Hugo</generator>
    <language>en</language>
    <copyright>&lt;a href=&#34;https://creativecommons.org/licenses/by-nc/4.0/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;CC BY-NC 4.0&lt;/a&gt;</copyright>
    <lastBuildDate>Sun, 18 Jun 2017 16:55:42 +0000</lastBuildDate>
    <atom:link href="/en/tags/git/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Git Workflow Cheatsheet</title>
      <link>/en/posts/2017/06/git-workflow-cheatsheet/</link>
      <pubDate>Sun, 18 Jun 2017 16:55:42 +0000</pubDate>
      <guid>/en/posts/2017/06/git-workflow-cheatsheet/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;👴 &lt;em&gt;Careful&lt;/em&gt; You&amp;rsquo;re reading an old article ! Some links might be broken and content may be outdated&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;I follow a pretty regular git workflow on my projects:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;All my features are derived from a master branch&lt;/li&gt;&#xA;&lt;li&gt;I merge my feature with master only after a code review (If I work with several people on the project, I ask them. Even If I’m alone on the project, I still use Github’s Pull Requests to review myself).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;my-git-cheatsheet&#34;&gt;My Git Cheatsheet&lt;/h2&gt;&#xA;&lt;h3 id=&#34;delete-a-local--remote-branch&#34;&gt;Delete a local / remote branch&lt;/h3&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;git branch -D branch_name #locally&#xA;git push origin --delete branch_name    #remote&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;create-a-branch-from-a-commit&#34;&gt;Create a branch from a commit&lt;/h3&gt;&#xA;&lt;p&gt;&lt;code&gt;git checkout -b branch_name a9c146a09505837ec03b&lt;/code&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Use Meld as an external viewer for git diff on Ubuntu</title>
      <link>/en/posts/2016/04/use-meld-as-an-external-viewer-for-git-diff-on-ubuntu/</link>
      <pubDate>Wed, 20 Apr 2016 16:50:53 +0000</pubDate>
      <guid>/en/posts/2016/04/use-meld-as-an-external-viewer-for-git-diff-on-ubuntu/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;👴 &lt;em&gt;Careful&lt;/em&gt; You&amp;rsquo;re reading an old article ! Some links might be broken and content may be outdated&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://nathanhoad.net/how-to-meld-for-git-diffs-in-ubuntu-hardy&#34;&gt;This article&lt;/a&gt; explains very well how to use Meld as an external viewer for « git diff » on Ubuntu. Once done, you won’t have any valid excuses to escape code reviews 😉&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
