$ git clone -n https://src.fedoraproject.org/rpms/knot-resolver.git /var/lib/mock/f40-build-769541-125682/root/chroot_tmpdir/scmroot/knot-resolver Cloning into '/var/lib/mock/f40-build-769541-125682/root/chroot_tmpdir/scmroot/knot-resolver'... $ git fetch origin f05d71748e4997d5d54377907920ae9c6c02db11:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/knot-resolver * [new ref] f05d71748e4997d5d54377907920ae9c6c02db11 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f05d717 Release 5.7.0-3