$ git clone -n https://gitee.com/src-anolis-os/fabtests.git /var/lib/mock/dist-an8-build-66867-37228/root/chroot_tmpdir/scmroot/fabtests 正克隆到 '/var/lib/mock/dist-an8-build-66867-37228/root/chroot_tmpdir/scmroot/fabtests'... $ git reset --hard origin/a8 HEAD 现在位于 8ccb422 update to fabtests-1.12.1-1.el8