<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Cheat Sheet on Laïla Atrmouh</title>
    <link>/en/tags/cheat-sheet/</link>
    <description>Recent content in Cheat Sheet 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/cheat-sheet/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>Django Cheat Sheet</title>
      <link>/en/posts/2013/12/django-cheat-sheet/</link>
      <pubDate>Sun, 22 Dec 2013 23:28:23 +0000</pubDate>
      <guid>/en/posts/2013/12/django-cheat-sheet/</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;Here are couple of useful commands / tutorials (in french sorry!) to get started easily with Django.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Create a project&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;python django-admin.py startproject project_name&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;Manually create a subfolder for HTML templates&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Running servers&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;python manage.py runserver&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Create an application (inside of a project)&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;python manage.py startapp blog&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;You should also read &lt;a href=&#34;http://openclassrooms.com/courses/developpez-votre-site-web-avec-le-framework-django&#34;&gt;the Django course of Open Classrooms&lt;/a&gt;   to get started smoothly 🙂&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
