Skip to content

Names and IDs

steve-stanton edited this page Sep 19, 2019 · 7 revisions

Every branch in a command store has a unique identifier in the form of a GUID. This is what is stored in the metadata for the branch (the AC file). The overall store also has an ID that matches the ID of the root branch.

Any reference to a branch that is stored in command data files will make use of this ID.

Branches also have a user-perceived name, which matches the name of the folder that contains the AC file. When we created a store called 'hello', it created a root branch also called 'hello'. This is represented by a new folder called 'hello'.

You are free to rename the folder names if you want to. If you rename the root folder, you change the name of the store, and also the name of the root branch.

   C:\Alt> rename hello origin
   C:\Alt> altcmd origin
   Opened origin (current branch is origin)
   [1]>
   

Clone this wiki locally