$ git clone -n https://gitee.com/src-anolis-os/libbytesize.git /var/lib/mock/dist-an23-build-156370-58313/root/chroot_tmpdir/scmroot/libbytesize Cloning into '/var/lib/mock/dist-an23-build-156370-58313/root/chroot_tmpdir/scmroot/libbytesize'... $ git reset --hard origin/a23 HEAD is now at 2f8553c optimise spec file