$ git clone -n https://github.com/xcp-ng-rpms/sm.git /var/lib/mock/v8.3-incoming-9113-27948/root/chroot_tmpdir/scmroot/sm Cloning into '/var/lib/mock/v8.3-incoming-9113-27948/root/chroot_tmpdir/scmroot/sm'... $ git fetch origin d751cc6c54ac1e3df6083c77eb98045cdb366dfa:KOJI_FETCH_HEAD From https://github.com/xcp-ng-rpms/sm * [new ref] d751cc6c54ac1e3df6083c77eb98045cdb366dfa -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d751cc6 Release 3.2.12-3.3