snipt

Ctrl+h for KB shortcuts

Bash

Create a patch

cd /Applications/MAMP/htdocs/drupal/sites/all/modules/uc_discounts/
diff -up original.php new.php > filename.patch
https://snippets.siftie.com/embed/01b42cf1772da29851130c66c3aaa0c8/
/raw/01b42cf1772da29851130c66c3aaa0c8/
01b42cf1772da29851130c66c3aaa0c8
bash
Bash
2
2019-03-19T19:01:10
True
False
False
/api/public/snipt/1254/
create-a-patch
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="nb">cd</span> /Applications/MAMP/htdocs/drupal/sites/all/modules/uc_discounts/ </span><span id="L-2"><a name="L-2"></a>diff -up original.php new.php &gt; filename.patch </span></pre></div> </td></tr></table>
bash