Skip to content
Dan Cadden edited this page Sep 28, 2016 · 10 revisions

Preface

It's important to note that the min-bench repo is the main repository we work off of. It includes two git sub-modules that point to two different repos.

The min-bench-fe and the vc-matcher repo respectively. If you look at the .gitmodules file you can see the repo references.

Imgur

Index

Gotchas

Make sure to update the submodule refs after making changes

When making changes to sub-modules (such as the front end) you will need to update the sub module with latest ref of the sub-module when you're done making changes.

For example, lets say you add a new page and have committed and merged it into min-bench-fe. You might have something that looks like this in your main min-bench repo now:

Imgur

You'll need to:

$ git add min-bench-fe

Which will then add then update the min-bench-fe sub-module ref:

Imgur

Deploying to Prod

Make sure that all the submodules have been pulled and are up to date. This is a minor missed step that can cause headaches later.

If you're unsure whether your sub-modules at the correct refs:

$ git submodule update --recursive

If this still doesn't seem right, try checking out master inside the submodule:

$ cd min-bench-fe && git branch && git checkout master