From: Andreas Ericsson <ae@op5.se>
To: Thomas Rast <trast@student.ethz.ch>
Cc: Tim Harper <timcharper@gmail.com>, git@vger.kernel.org
Subject: Re: Why is it important to learn git?
Date: Tue, 04 Aug 2009 16:09:26 +0200 [thread overview]
Message-ID: <4A784116.2050508@op5.se> (raw)
In-Reply-To: <200907220952.27385.trast@student.ethz.ch>
Thomas Rast wrote:
> Tim Harper wrote:
>> How has mastering the advanced features of git helped you to be a
>> better programmer?
>
> I came from SVN, and I guess the most important change for me was:
>
> Learning to make nice, reviewable, working, one-change-per-revision
> commits.
>
Seconded. During the CVS days, noone bothered about history, but with
git a it's a veritable goldmine of important information, so it's
important to keep it clean with minimal changesets.
One of our developers was very sloppy about this until he ended up
with a bisection run landing him on a commit that fixed no less
than seven different issues. He spent four days debugging it and
finally had to resort to breaking the issues up and creating the
commits as they should have been on a temporary side-branch and
then bisecting that side-branch. Having done that, he spotted the
error in about 15 minutes. After some swearing, he finally saw the
light. He's actually a happier person now, since bugs that take a
long time to solve upset him quite enormously and now he never runs
into any :-)
Apart from that, the various ways of cooperating over large distances
(easy branching + merging, patch sending/applying utilities) are a
huge benefit for us.
--
Andreas Ericsson andreas.ericsson@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.
next prev parent reply other threads:[~2009-08-04 14:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-22 5:08 Why is it important to learn git? Tim Harper
2009-07-22 7:52 ` Thomas Rast
2009-07-22 18:15 ` Sverre Rabbelier
2009-07-22 21:47 ` Jakub Narebski
2009-07-23 5:00 ` Jeff King
2009-08-04 14:09 ` Andreas Ericsson [this message]
2009-07-22 18:31 ` Scott Chacon
2009-07-22 21:07 ` Dmitry Potapov
2009-07-22 21:44 ` Jakub Narebski
2009-07-22 21:50 ` Allan Kelly
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A784116.2050508@op5.se \
--to=ae@op5.se \
--cc=git@vger.kernel.org \
--cc=timcharper@gmail.com \
--cc=trast@student.ethz.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).