$ git clone -n https://gitee.com/yao-ma/centos2anolis.git /var/lib/mock/dist-an8.6-build-184174-60350/root/chroot_tmpdir/scmroot/centos2anolis Cloning into '/var/lib/mock/dist-an8.6-build-184174-60350/root/chroot_tmpdir/scmroot/centos2anolis'... $ git fetch origin bedf07a11974d882686826b6cdf51342c3f4dd73:KOJI_FETCH_HEAD From https://gitee.com/yao-ma/centos2anolis * [new ref] bedf07a11974d882686826b6cdf51342c3f4dd73 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at bedf07a Add exit code description.