On 16/03/16 21:03, Michal Kubecek wrote:
> One of the good ones is "Pro Git" book by Scott Chacon which can be
> viewed or downloaded at
> 
>   https://git-scm.com/book/en/v2
> 
> For basic developer needs, chapters 1-3 are sufficient, to participate
> in a project, chapter 5 can help (at least first two sections) and as we
> are moving to Github, chapter 6 can be handy (again, at least first two
> sections).

I've just finished reading it, and would second that recommendation.

There's also "Git - Ry's Git Tutorial", which I found as a Kindle
freebie, and is probably better than Pro Git for the absolute beginner,
although I would recommend both.

But for the OP, read these books, and learn to use branches. This is the
classic Git workflow - every little task should have its own git branch
on your developer machine. Switching between branches is almost
cost-free, and then when you're ready to submit your work you rebase to
the latest master, squash your branch into a single commit (if it's not
too big), and upload it for review and committing.

An experienced developer might have 10 or 20 topics on the go - each in
their own separate branches. That way work doesn't cross-contaminate -
you don't want to accidentally upload a half-baked development because
you had to upload an unrelated emergency bug-fix ... :-)

Cheers,
Wol

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to