$ git clone -n https://src.fedoraproject.org/rpms/gdisk.git /var/lib/mock/f40-build-792879-138674/root/chroot_tmpdir/scmroot/gdisk Cloning into '/var/lib/mock/f40-build-792879-138674/root/chroot_tmpdir/scmroot/gdisk'... $ git fetch origin fb80b29b51371d6bed01d9052a2f5a9af01074e1:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/gdisk * [new ref] fb80b29b51371d6bed01d9052a2f5a9af01074e1 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at fb80b29 1.0.10