[Noisebridge-discuss] [dorkbotsf-blabber] Embedded code - version control experience?
tyler at odbol.com
Fri Feb 17 13:23:42 PST 2012
I love git as well, but keep in mind that it's not as... eh,
user-friendly as SVN. TortoiseSVN is the nicest GUI they could have come
up with, and git, well, I haven't found a good GUI for it and the
command-line interface is pretty obtuse and inconsistent. But as long as
you only do very basic stuff and never run into any crazy DETACHED HEAD
problems you should only need about 3-4 commands. The lovely thing about
it is that you don't have to set up a server like SVN - just type 'git
init' and the whole repo just sits on your filesystem.
I have to disagree about submodules though - git hasn't quite gotten
them all figured out and you can run into weird issues sometimes. SVN
has had 'externals' for a while now which actually work really well.
If you want something that's quick and easy to set up, choose git. If
you already have an SVN server or if you're new to version control, you
might want to try SVN.
On 2/17/12 1:08 PM, Tymm Twillman wrote:
> I really like Git for both embedded& non-embedded. Especially as I
> do a fair amount of editing on the go, and the ability to commit to a
> local repo& then later sync to my master repo is great. I've made
> the move from SVN recently, and haven't looked back.
> Doing source control with integrated IDE systems I've found to be a
> little annoying (figuring out which IDE files you want excluded from
> the repo, and how to make your settings files repo-friendly... i.e.
> getting things to use relative paths instead of putting paths that
> have your home directory name in them)...
> Git also supports submodules (SVN might also by now; I know there's
> been a lot of work on subversion recently)... which means you can have
> projects that import other projects as dependencies, rather than
> replicating code in multiple repositories.
> On Fri, Feb 17, 2012 at 11:47 AM, Anders Nelson
> <anders.k.nelson at gmail.com> wrote:
>> Hello fine people,
>> Does anyone use version control for their embedded project code? I want to
>> start using MPLAB X, which has version control built into the IDE but I'm
>> curious to know if using a more accepted standard (SVN, etc) is a better
>> idea. Then, of course, what's the best way to organize a repository?
>> Me thinks appending a new dated name to each file I modify is not the way to
>> go anymore...
>> Anders Nelson
>> dorkbot: people doing strange things with electricity
>> SUBSCRIPTION AND UNSUBSCRIBE OPTIONS HERE:
> dorkbot: people doing strange things with electricity
> SUBSCRIPTION AND UNSUBSCRIBE OPTIONS HERE:
More information about the Noisebridge-discuss