$ git clone -n https://src.fedoraproject.org/rpms/createrepo_c.git /var/lib/mock/f41-build-side-1-2811115-32926/root/chroot_tmpdir/scmroot/createrepo_c Cloning into '/var/lib/mock/f41-build-side-1-2811115-32926/root/chroot_tmpdir/scmroot/createrepo_c'... $ git fetch origin e0d0a3d1626b1bcf7128f9cf3d400a1ce2933b48:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/createrepo_c * [new ref] e0d0a3d1626b1bcf7128f9cf3d400a1ce2933b48 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e0d0a3d Correct a changelog history