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 configurationRemove 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
Create and checkout a new branch for the instrument using
git checkout -b NDXyyyy
whereyyyy
is the name of the instrument in capital lettersRun the config upgrader to get this into an up to date state
Run
git push
to push your changes to the main git repositorygit checkout NDXxxxx
will get you back to your local configuration