<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="https://build2be.com"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>build2be/com/e - git</title>
 <link>https://build2be.com/category/git</link>
 <description></description>
 <language>en</language>
<item>
 <title>Commit changes immediately to git using Rust</title>
 <link>https://build2be.com/content/commit-changes-immediately-git-using-rust</link>
 <description>&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;p&gt;Having a trail of your coding flow can be handy or will explain the longing question about &#039;what was i thinking&#039; when resolving problems of https://adventofcode.com/&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Warning: this script needs Rust (unfortunately) installed&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
 <pubDate>Wed, 09 Dec 2020 11:43:35 +0000</pubDate>
 <dc:creator>clemens</dc:creator>
 <guid isPermaLink="false">214 at https://build2be.com</guid>
 <comments>https://build2be.com/content/commit-changes-immediately-git-using-rust#comments</comments>
</item>
<item>
 <title>Working on a Drupal module using composer</title>
 <link>https://build2be.com/content/working-drupal-module-using-composer</link>
 <description>&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;p&gt;Altering Drupals &lt;code&gt;composer.json&lt;/code&gt; to fetch a particular Drupal module git checkout.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
 <pubDate>Sat, 18 May 2019 09:10:29 +0000</pubDate>
 <dc:creator>clemens</dc:creator>
 <guid isPermaLink="false">192 at https://build2be.com</guid>
 <comments>https://build2be.com/content/working-drupal-module-using-composer#comments</comments>
</item>
<item>
 <title>Create an empty pristine branch in your git repo</title>
 <link>https://build2be.com/content/create-empty-pristine-branch-your-git-repo</link>
 <description>&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;p&gt;In need for a new empty branch for restarting an idea I need a empty branch&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;git checkout --orphan NEWBRANCH
git rm -rf .&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;em&gt;don&#039;t&lt;/em&gt; do the commands in reverse order.
&lt;em&gt;don&#039;t&lt;/em&gt; forget the rm -rf command either.&lt;/p&gt;

&lt;h3&gt;Resource&lt;/h3&gt;

&lt;p&gt;http://bitflop.com/tutorials/how-to-create-a-new-and-empty-branch-in-git.html&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
 <pubDate>Fri, 23 Jan 2015 12:35:04 +0000</pubDate>
 <dc:creator>clemens</dc:creator>
 <guid isPermaLink="false">165 at https://build2be.com</guid>
 <comments>https://build2be.com/content/create-empty-pristine-branch-your-git-repo#comments</comments>
</item>
<item>
 <title>A Drupal 8 git bisect exercise</title>
 <link>https://build2be.com/content/drupal-8-git-bisect-exercise</link>
 <description>&lt;div class=&quot;field field-name-field-images field-type-image field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/content/drupal-8-git-bisect-exercise&quot;&gt;&lt;img class=&quot;img-responsive&quot; src=&quot;https://build2be.com/sites/build2be.com/files/styles/medium/public/git-bisect.png?itok=WBduLGAQ&quot; width=&quot;220&quot; height=&quot;132&quot; alt=&quot;git-bisect.png&quot; title=&quot;http://gitmap.files.wordpress.com/2010/12/git-bisect.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;Having a Drupal 8 site under development with a customer aware of the risk of loosing data I took the risk of fixing a broken Drupal 8 site. Today I did an code update and got the following welcome screen on http://drupal.dev

&lt;pre&gt;&lt;code&gt;If you have just changed code (for example deployed a new module or moved an existing one) read http://drupal.org/documentation/rebuild
Additional uncaught exception thrown while handling exception.
Original
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
 <pubDate>Wed, 12 Jun 2013 08:38:26 +0000</pubDate>
 <dc:creator>clemens</dc:creator>
 <guid isPermaLink="false">140 at https://build2be.com</guid>
 <comments>https://build2be.com/content/drupal-8-git-bisect-exercise#comments</comments>
</item>
<item>
 <title>Do we need git squash and thus forced pushes?</title>
 <link>https://build2be.com/content/do-we-need-git-squash-and-thus-forced-pushes</link>
 <description>&lt;div class=&quot;field field-name-field-images field-type-image field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/content/do-we-need-git-squash-and-thus-forced-pushes&quot;&gt;&lt;img class=&quot;img-responsive&quot; src=&quot;https://build2be.com/sites/build2be.com/files/styles/medium/public/Squash-Bug--66456.jpg?itok=UXemtZHH&quot; width=&quot;143&quot; height=&quot;220&quot; alt=&quot;Weird unnatural bug&quot; title=&quot;http://www.freakingnews.com/Vegan-Animals-Pictures--2737.asp&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;p&gt;As a followup on &lt;a href=&quot;http://build2be.com/content/pinch-symfony-d8mi&quot;&gt;A pinch of Symfony for D8MI? &lt;/a&gt; why do we need to squash?&lt;/p&gt;
&lt;p&gt;After some more squash and push -f attempts regarding pull request for &lt;a href=&quot;https://github.com/symfony/symfony/pulls/clemens-tolboom&quot;&gt;Symfony&lt;/a&gt; I get the hang of it.&lt;/p&gt;
&lt;p&gt;But chx said in &lt;a href=&quot;http://build2be.com/comment/4845#comment-4845&quot;&gt;squash is bad&lt;/a&gt; as we loose history on the development process.&lt;/p&gt;
&lt;p&gt;So how should we do this on d.o when git phase 3 lands? Those discussion seems to got to a halt.&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
 <pubDate>Fri, 19 Apr 2013 07:20:45 +0000</pubDate>
 <dc:creator>clemens</dc:creator>
 <guid isPermaLink="false">129 at https://build2be.com</guid>
 <comments>https://build2be.com/content/do-we-need-git-squash-and-thus-forced-pushes#comments</comments>
</item>
<item>
 <title>Git issue branch ... the sandbox route</title>
 <link>https://build2be.com/content/git-issue-branch-sandbox-route</link>
 <description>&lt;div class=&quot;field field-name-field-images field-type-image field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/content/git-issue-branch-sandbox-route&quot;&gt;&lt;img class=&quot;img-responsive&quot; src=&quot;https://build2be.com/sites/build2be.com/files/styles/medium/public/buby_pacifier.png?itok=_T81WM2x&quot; width=&quot;220&quot; height=&quot;189&quot; alt=&quot;http://emonti.github.com/buby/img/buby_pacifier.png&quot; title=&quot;http://emonti.github.com/buby/img/buby_pacifier.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;p&gt;I&#039;m working on a &lt;a href=&quot;http://drupal.org/node/1115636&quot;&gt;patch&lt;/a&gt; to implement issue triage for &lt;a href=&quot;http://drupal.org/project/dreditor&quot;&gt;Dreditor&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;But for ease of use and teasing in testers git issue branches would be great which are underways.&lt;/p&gt;
&lt;p&gt;So in the mean time I use a sandbox for this. But how to get dreditor code into my repo?&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;First create a sandbox on d.o. This gives to access to a new git repo.&lt;/li&gt;
&lt;li&gt;Ignore the initial git instructions&lt;/li&gt;
&lt;li&gt;Clone dreditor according the git instructions&lt;br /&gt;&lt;code&gt;&lt;br /&gt;
git clone http://git.drupal.org/project/dreditor.git
&lt;/code&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
 <pubDate>Wed, 13 Apr 2011 08:40:21 +0000</pubDate>
 <dc:creator>clemens</dc:creator>
 <guid isPermaLink="false">113 at https://build2be.com</guid>
 <comments>https://build2be.com/content/git-issue-branch-sandbox-route#comments</comments>
</item>
</channel>
</rss>
