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\NDXxxxxin 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.
NDXxxxxReview and commit any changes you have on your current branch
Run
git checkout masterandgit pullto 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 NDXyyyywhereyyyyis the name of the instrument in capital lettersRun the config upgrader to get this into an up to date state
Run
git pushto push your changes to the main git repositorygit checkout NDXxxxxwill get you back to your local configuration