$ git clone -n https://gitee.com/shuancue/centos2anolis.git /var/lib/mock/dist-an7_9-updates-build-208885-61632/root/chroot_tmpdir/scmroot/centos2anolis Cloning into '/var/lib/mock/dist-an7_9-updates-build-208885-61632/root/chroot_tmpdir/scmroot/centos2anolis'... $ git reset --hard a1cdf60e8f9883fc48c3a3ef6f31923a530add1f HEAD is now at a1cdf60 Check if the filesystem is mounted as read-only