$ git clone -n https://gitee.com/ocs-bot/diffstat.git /var/lib/mock/dist-ocs23-build-115544-7917/root/chroot_tmpdir/scmroot/diffstat Cloning into '/var/lib/mock/dist-ocs23-build-115544-7917/root/chroot_tmpdir/scmroot/diffstat'... $ git fetch origin HEAD:KOJI_FETCH_HEAD From https://gitee.com/ocs-bot/diffstat * [new ref] HEAD -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8f3cfb0 Upgrade to version 1.65