I have the following git-sync job:
git-sync --repo https://dev.azure.com/..../repo \
--root /tmp/git/data --dest data --one-time \
--branch master --max-sync-failures 5 \
--password-file /opt/.git-sync-pass --add-user true --depth 1
For some reason this results in a data/9cb27e1a1eb90c2832c22447c5a88085f132e62d/..... The last commit hash is included in the path.
Is there a way to influence this behaviour so that the commit hash is not showing up in the folder as a subfolder?
I think there is no way to do that based on the documentation as you mentioned as well but perhaps you can use flag --link <string\>
to associate and hide the hash from direct view.