POV-Ray : Newsgroups : povray.unofficial.patches : Patches and git / github with branches. Server Time: 26 Apr 2017 23:25:17 GMT
  Patches and git / github with branches. (Message 1 to 1 of 1)  
From: William F Pokorny
Subject: Patches and git / github with branches.
Date: 13 Sep 2016 13:18:58
Message: <57d7fcc2$1@news.povray.org>
I'm relatively new to git & github. I thought I'd ramble a minute  about 
how I find myself keeping individual branches for features and fixes.

Branches, both published to github(1) and local to my computer, are kept 
current with the povray 3.7.1 master branch. In my local environment I 
now periodically create my own version(branch) of povray where I 'git 
pull' in the features and fixes I want for what I am working upon.

The feature and fix branches can be pulled from others too so long as 
they've been kept current with the 3.7.1 master branch. This I did the 
first time this morning with Christoph's proposed potential pattern.

Having a history with other code control systems I was initially merging 
branches together and back into my personal version branch. I wasn't 
keeping branches around - or even creating many.

Not creating & maintaining branches made it a good deal harder to stay 
aligned with the povray 3.7.1 master branch; Harder to later isolate a 
particular feature/fix for a pull request or removal; Harder to cook up 
the version of povray I want in the moment.

Guess I'm saying git branches are cool. :-)

Bill P.

(1) - What I think reasonably solid & perhaps of use to others.


Post a reply to this message

Copyright 2003-2008 Persistence of Vision Raytracer Pty. Ltd.