# Tip: Cylc install records version control info

**URL:** <https://cylc.discourse.group/t/tip-cylc-install-records-version-control-info/952>\
**Category:** Tips\
**Created:** [May 10, 2024, 9:06am UTC](https://cylc.discourse.group/t/tip-cylc-install-records-version-control-info/952 "2024-05-10T09:06:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wxtim](https://yyz2.discourse-cdn.com/free1/user_avatar/cylc.discourse.group/wxtim/32/151_2.png) [@wxtim](https://cylc.discourse.group/u/wxtim)\
**Post date:** [May 10, 2024, 9:06am UTC](https://cylc.discourse.group/t/tip-cylc-install-records-version-control-info/952/1 "2024-05-10T09:06:46Z")

</div>

If your workflow source is version controlled `cylc install` records information from the version control system in `~/cylc-run/workflow/log/version`.

For example if you wanted to run an experiment you might do:

```bash
git checkout -b experiment1
# make changes to your workflow
git commit --all --message "experiment1"
cylc install . --run-name experiment1

```

Then the commit hash of the changes you made will be available in `~/cylc-run/workflow/experiment1/log/version/vcs.json`.

Alternatively, you could choose not to commit your changes, and you would be able to view them at `~/cylc-run/workflow/experiment1/log/version/uncommitted.diff`.
