|
|
**Table of contents**
|
|
|
|
|
|
[[_TOC_]]
|
|
|
# Checking for updates
|
|
|
If you cloned your project from [our remote](https://git.sharcnet.ca/bucanl_pipelines/eeg_pipe_asr_amica) updating your project from git is easy.
|
|
|
|
|
|
Check the `VERSION` file in the root of your project, compare the version of your project with [the version here](https://git.sharcnet.ca/bucanl_pipelines/eeg_pipe_asr_amica/blob/master/VERSION)
|
|
|
|
|
|
The version follows semver standard and therefore major updates update the 'a' in a.b.c, minor updates update the 'b', and bug fixes and other changes update the 'c'. You should expect minor updates to not break your pipeline whereas major updates are expected to.
|
|
|
|
|
|
# Updating
|
|
|
If you've decided to update you need to update all the submodules to the correct version with that the main eeg_pipe_asr_amica repo is built against. Therefore do the following.
|
|
|
|
|
|
```
|
|
|
cd /path/to/your/project/dir
|
|
|
git pull origin master
|
|
|
git submodule update --recursive
|
|
|
```
|
|
|
You will need to do this on **both** your local machine **and** any remote servers.
|
|
|
|
|
|
This will fetch the remote branch (origin/master) and merge it into your local history. Most of the time this will fast forward your branch history to the point origin/master is in. This will also update any git submodules to the correct version of those git repositories.
|
|
|
|
|
|
# Common git problems
|
|
|
## My eeglab_asr_amica directory is empty
|
|
|
You likely forgot to use --recursive when you originally cloned the repo. No worries, checkout the correct version of the submodules with
|
|
|
|
|
|
```
|
|
|
git submodule update --init --recursive
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
[ :house: **Return to Main Page**](https://git.sharcnet.ca/bucanl_pipelines/eeg_pipe_asr_amica/wikis/home) |
|
|
\ No newline at end of file |