latest-synced-commit
whose value is the Git commit hash.
It uses this value to determine which commits to apply.
ConfigSync applies all commits that are newer than latest-synced-commit
and sets latest-synced-commit
to the latest commit.
For example, imagine the following Git commit history:
git pull
and finds a new commit, it applies it and sets latest-synced-commit
to the latest commit.
latest-synced-commit
and latest-git-commit
and applies all commits within that range.
Then it sets latest-synced-commit
to latest-git-commit
.
latest-synced-commit
manually:
latest-synced-commit
pointer to 1111111
.
latest-synced-commit
and set latest-synced-commit
to the latest commit.
locked-commit
using the API:
locked-commit
precedes latest-synced-commit
, ConfigSync reverts all changes to the locked-commit
and sets latest-synced-commit
to locked-commit
.locked-commit
are ignored, as well as changes from the Fusion cluster.
locked-commit
, ConfigSync commits all Fusion cluster changes and pulls the latest changes from the Git repository:
git-changes
and fusion-changes
where fusion-changes
has a higher priority in case of conflicts.