$ git clone -n https://gitee.com/src-anolis-os/filesystem.git /var/lib/mock/dist-an8-build-69987-37229/root/chroot_tmpdir/scmroot/filesystem Cloning into '/var/lib/mock/dist-an8-build-69987-37229/root/chroot_tmpdir/scmroot/filesystem'... $ git reset --hard origin/a8 HEAD is now at efbee35 update to filesystem-3.8-6.el8