$ git clone -n https://gitee.com/zhaohang_mskdxl/diffstat.git /var/lib/mock/dist-an23.3-build-421263-72884/root/chroot_tmpdir/scmroot/diffstat Cloning into '/var/lib/mock/dist-an23.3-build-421263-72884/root/chroot_tmpdir/scmroot/diffstat'... $ git fetch origin f76c840cd8af525efe44e651f3fdd5d7d6af41e8:KOJI_FETCH_HEAD From https://gitee.com/zhaohang_mskdxl/diffstat * [new ref] f76c840cd8af525efe44e651f3fdd5d7d6af41e8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f76c840 update to diffstat-1.66-1