$ git clone -n https://github.com/xcp-ng-rpms/kernel /var/lib/mock/v9.0-u-ydi1-11185-29582/root/chroot_tmpdir/scmroot/kernel Cloning into '/var/lib/mock/v9.0-u-ydi1-11185-29582/root/chroot_tmpdir/scmroot/kernel'... $ git fetch origin 2ed3756de2e2d15ac18124216d91ecc7c56b1784:KOJI_FETCH_HEAD From https://github.com/xcp-ng-rpms/kernel * [new ref] 2ed3756de2e2d15ac18124216d91ecc7c56b1784 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2ed3756de bump release for test build