<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>trial on Silicone&#39;s web</title>
		<link>https://silicone.homelinux.org/tags/trial/</link>
		<description>Recent content in trial on Silicone&#39;s web</description>
		<generator>Hugo</generator>
		<language>fr</language>
		
		
		
		
			<lastBuildDate>Mon, 09 Oct 2017 22:14:17 +0100</lastBuildDate>
		
			<atom:link href="https://silicone.homelinux.org/tags/trial/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Trial and errors with git branches</title>
				<link>https://silicone.homelinux.org/2010/07/16/trial-and-errors-with-git-branches/</link>
				<pubDate>Fri, 16 Jul 2010 13:57:49 +0100</pubDate>
				<guid>https://silicone.homelinux.org/2010/07/16/trial-and-errors-with-git-branches/</guid>
				<description>&lt;p&gt;I’ve recently learned to use git (for my xorg adapted packages) and used it later for netsed.&lt;/p&gt;&#xA;&lt;p&gt;In order to develop UDP in netsed, I had to try several stuff, my network programming experience in C is back to some school time, so this was really trial and errors. And here git really helps, all I had to do is create branches for each trial, so I don’t loose any tracks I’ve taken, then when I found the right way to do it, I could just merge or cherry pick from the branches (or even just copy past from gitk to my favorite editor gvim) and that was it !&lt;/p&gt;&#xA;&lt;p&gt;Of course I can now delete the trial branches, but those were really helpful during development time.&lt;/p&gt;&#xA;&lt;p&gt;This meant abusing of &lt;code&gt;git commit --amend&lt;/code&gt;, &lt;code&gt;git merge&lt;/code&gt; ( &lt;code&gt;--squash&lt;/code&gt; ) and &lt;code&gt;git cherry-pick&lt;/code&gt; commands, but well you cannot build a clean code without effort.&lt;/p&gt;&#xA;&lt;p&gt;I should probably give another look at &lt;code&gt;git stash&lt;/code&gt; which seams to fill similar needs.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
