$ git clone -n https://src.fedoraproject.org/rpms/libkdcraw.git /var/lib/mock/f42-build-863718-171734/root/chroot_tmpdir/scmroot/libkdcraw Cloning into '/var/lib/mock/f42-build-863718-171734/root/chroot_tmpdir/scmroot/libkdcraw'... $ git fetch origin 4161126ecf825fea91a26bebd22175d2914957a9:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/libkdcraw * [new ref] 4161126ecf825fea91a26bebd22175d2914957a9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4161126 24.12.0