$ git clone -n https://src.fedoraproject.org/rpms/getdp.git /var/lib/mock/f42-build-865014-172748/root/chroot_tmpdir/scmroot/getdp Cloning into '/var/lib/mock/f42-build-865014-172748/root/chroot_tmpdir/scmroot/getdp'... $ git fetch origin a5711acf9bf20318154faaa908885e9e980bfa0c:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/getdp * [new ref] a5711acf9bf20318154faaa908885e9e980bfa0c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a5711ac Rebuild (petsc)