Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • bids_lossless_eeg bids_lossless_eeg
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • bucanl_pipelines
  • bids_lossless_eegbids_lossless_eeg
  • Wiki
  • updates and git version control

Last edited by Tyler Collins Jul 10, 2018
Page history

updates and git version control

Updating

If you started your project from our remote, updating your project from git is easy.

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 state origin/master is in. This will also update any git submodules to the correct version of those git repositories.

Common git problems

One of my directories is empty

You likely forgot to use --recursive when you originally cloned the repo or there was an issue with submodule and branch interaction.

No worries either way, just checkout the correct version of the submodules with:

git submodule update --init --recursive

🏠 Return to Main Page

Clone repository
  • assumptions
  • bidsifying
  • configuring context config
  • configuring remote
  • contributing
  • developer workflow
  • directories
  • essinit
  • Home
  • init scripts
  • install download
  • opening eeglab
  • pipeline scripts
  • postprocessingscript
  • qc init
View All Pages