$ git clone -n https://src.fedoraproject.org/rpms/knot-resolver.git /var/lib/mock/f41-build-860382-168945/root/chroot_tmpdir/scmroot/knot-resolver Cloning into '/var/lib/mock/f41-build-860382-168945/root/chroot_tmpdir/scmroot/knot-resolver'... $ git fetch origin a8390cd29f8effafa83bb3d51c3cd47bf97634ad:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/knot-resolver * [new ref] a8390cd29f8effafa83bb3d51c3cd47bf97634ad -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a8390cd Release 5.7.4-1