<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Max Cohen</title>
    <description>The latest articles on DEV Community by Max Cohen (@max_cohen_6ace6dbb02bea02).</description>
    <link>https://dev.to/max_cohen_6ace6dbb02bea02</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1925858%2Fac28df12-8f06-44e8-a27e-3f72ddbf71cf.jpg</url>
      <title>DEV Community: Max Cohen</title>
      <link>https://dev.to/max_cohen_6ace6dbb02bea02</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/max_cohen_6ace6dbb02bea02"/>
    <language>en</language>
    <item>
      <title>git commit -p (a cool git command)</title>
      <dc:creator>Max Cohen</dc:creator>
      <pubDate>Fri, 16 Aug 2024 03:38:59 +0000</pubDate>
      <link>https://dev.to/max_cohen_6ace6dbb02bea02/git-commit-p-a-cool-git-command-48ki</link>
      <guid>https://dev.to/max_cohen_6ace6dbb02bea02/git-commit-p-a-cool-git-command-48ki</guid>
      <description>&lt;p&gt;I recently learned the &lt;code&gt;-p&lt;/code&gt; option of git commit. It allows you to see your changes and decide whether to commit them.&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;git commit -p&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;Allows you to review and add changes to your commit&lt;/p&gt;

&lt;p&gt;or, as the git documentation says&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;-p or --patch
 Use the interactive patch selection interface to choose which changes to commit. See git-add[1] for details.

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://lnkd.in/gaTMSuBr" rel="noopener noreferrer"&gt;https://lnkd.in/gaTMSuBr&lt;/a&gt;&lt;/p&gt;

</description>
      <category>git</category>
    </item>
  </channel>
</rss>
