$ git clone -n https://gitee.com/anolis/centos2anolis.git /var/lib/mock/dist-an7-plus-build-92502-44215/root/chroot_tmpdir/scmroot/centos2anolis Cloning into '/var/lib/mock/dist-an7-plus-build-92502-44215/root/chroot_tmpdir/scmroot/centos2anolis'... $ git reset --hard origin/master HEAD is now at 4cc9d1d Add --tool_version to check the viersion of tool