$ git clone -n https://github.com/xcp-ng-rpms/sm.git /var/lib/mock/v8.3-v-qcow2-9853-28564/root/chroot_tmpdir/scmroot/sm Cloning into '/var/lib/mock/v8.3-v-qcow2-9853-28564/root/chroot_tmpdir/scmroot/sm'... $ git fetch origin 7400c03ec3e9fad113985a2d35e278087fdf7ea6:KOJI_FETCH_HEAD From https://github.com/xcp-ng-rpms/sm * [new ref] 7400c03ec3e9fad113985a2d35e278087fdf7ea6 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7400c03 Release sm-3.2.12-16.1.0.qcow2.2