-
Notifications
You must be signed in to change notification settings - Fork 2
Creating a new branch for IBEX configurations
Dominic Oram edited this page May 12, 2020
·
3 revisions
Wiki > Deployment > Migrate an Instrument Control PC > Creating a new branch for IBEX configurations
This creates the repository to save all the IBEX configurations for a new instrument.
- Navigate to
C:\Instrument\Settings\NDXxxxx
in a git bash terminal on an IBEX developer's machine (i.e. not an instrument) - Note the current branch you are on, usually this is will be the name of the machine you are working on, e.g.
NDXxxxx
- Review and commit any changes you have on your current branch
- Run
git checkout master
andgit pull
to get the latest copy of the base configuration - Remove any uncommitted changes you have on your branch
- NOTE: This may delete some uncommitted changes that you may wish to keep. Ensure these are all committed before running
git clean -fdx
- NOTE: This may delete some uncommitted changes that you may wish to keep. Ensure these are all committed before running
- Create and checkout a new branch for the instrument using
git checkout -b NDXyyyy
whereyyyy
is the name of the instrument in capital letters - Run the config upgrader to get this into an up to date state
- Run
git push
to push your changes to the main git repository -
git checkout NDXxxxx
will get you back to your local configuration