This is a super repo that brings together several Git repos of TVB, intended to make it easier to get started with TVB.
There are two usage scenarios: 1) use only the official repos for TVB 2) use your own forks of those repos.
In the first case, you should fork this repo and clone it, e.g.
(replace user
by your GitHub username):
git clone [email protected]:user/tvb-pack tvb
git submodule init
git submodule update
git submodule foreach git submodule init
git submodule foreach git submodule update
Be patient, in some cases the repos are quite large.
In the second case, you'll need to additionally, for each repo
where you have your own fork, modify the .gitsubmodules file correctly
just after cloning tvb-pack
and
before performing the submodule
commands in the listing above.
Additionally, if you wish to have access to the upstream repo, i.e.
(the-virtual-brain/tvb-*
) you'll need to add this explicitly in
the submodule.
Lastly, if you merge from upstream/tvb-pack
, you may have to update
.gitsubmodules
to reflect your forks. We'll setup a script to make
this easier.
When you modify files tracked by the tvb-pack
repo, use Git as
per usual. If you make changes to a submodule, you'll need to cd
into the submodule, Git your changes with respect to the submodule's
repository, cd
up to the tvb-pack
directory and update tvb-pack
's
version of the submodule.
More details can be found at the Git SCM book's description of Git submodules.
Currently, this repo is in testing mode, not ready for general consumption.