$darkmode
|
Elektra 0.11.0
|
gitresolver is a resolver that fetches from a local Git repository during the get-phase and commits them back at the end of the set-phase. It operates on a temporary copy of the latest version of your file fetched from the repository. If the temporary copy modified, a new commit with the modified version will be created. Local files won't be touched.
See installation. The package is called libelektra5-gitresolver.
branch defines the branch to work on. Default: master tracking can be either object or head (default). if set to object a conflict will only occur if the file in the Git repository has been updated while you were working on it. head will cause a conflict if the HEAD commit has been updated. pull when present: tells the plugin to fast-forward pull the repository, fails if FF isn't possible. checkout when present: tells the plugin to checkout the file.
Currently it only works inside existing Git repositories.