$ git clone -n https://gitee.com/wency_cn/diffstat.git /var/lib/mock/dist-an23-build-502030-74794/root/chroot_tmpdir/scmroot/diffstat Cloning into '/var/lib/mock/dist-an23-build-502030-74794/root/chroot_tmpdir/scmroot/diffstat'... $ git fetch origin efd6f1cad681307c496f38b47c9194eea1708ead:KOJI_FETCH_HEAD From https://gitee.com/wency_cn/diffstat * [new ref] efd6f1cad681307c496f38b47c9194eea1708ead -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at efd6f1c Update code from upstream