$ git clone -n https://github.com/xcp-ng-rpms/xcp-ng-release /var/lib/mock/v8.3-u-ydi1-9773-28491/root/chroot_tmpdir/scmroot/xcp-ng-release Cloning into '/var/lib/mock/v8.3-u-ydi1-9773-28491/root/chroot_tmpdir/scmroot/xcp-ng-release'... $ git fetch origin 0331dfa242b159c4c97ed57254d4886ac1562871:KOJI_FETCH_HEAD From https://github.com/xcp-ng-rpms/xcp-ng-release * [new ref] 0331dfa242b159c4c97ed57254d4886ac1562871 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0331dfa Avoid separate dist macro with asymetric meaning