|
Boost-Build : |
Subject: Re: [Boost-build] Git usages
From: aaron_at_[hidden]
Date: 2015-04-14 09:51:13
> ===
> git pull
> git submodule init
> git submodule foreach git pull
> ===
>
> Which I need so that the many submodules don't stray from the
> branch they are on and become detached. And BB is just another
> submodule. So it would be a PITA to do something special for
> BB. Gods why is git so horrible at this :-\ More than two
> years of being forced to use git and the cons are a magnitude
> larger than the pros.
Along with setting pull.rebase to true, you can also create an alias in
your global ~/.gitconfig file:
[alias]
update = !git pull && git submodule update --init --recursive
Then use it on the command line like so:
~/project/ $ git update
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk