$ git clone -n https://github.com/xcp-ng-rpms/sm.git /var/lib/mock/v8.3-v-qcow2-9460-28201/root/chroot_tmpdir/scmroot/sm Cloning into '/var/lib/mock/v8.3-v-qcow2-9460-28201/root/chroot_tmpdir/scmroot/sm'... $ git fetch origin bab3e30e06d453ba7a0115442e10fc4b1f8d4730:KOJI_FETCH_HEAD From https://github.com/xcp-ng-rpms/sm * [new ref] bab3e30e06d453ba7a0115442e10fc4b1f8d4730 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at bab3e30 Release 3.2.12-10.2.0.qcow2.4