$ git clone -n https://src.fedoraproject.org/rpms/fmt-ptrn.git /var/lib/mock/f40-build-801686-143847/root/chroot_tmpdir/scmroot/fmt-ptrn Cloning into '/var/lib/mock/f40-build-801686-143847/root/chroot_tmpdir/scmroot/fmt-ptrn'... $ git fetch origin afef4b87047003846e40fc466f5b426e7be5f3e2:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/fmt-ptrn * [new ref] afef4b87047003846e40fc466f5b426e7be5f3e2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at afef4b8 Update to 1.3.24