$ git clone -n https://gitee.com/src-anolis-os/libatomic_ops.git /var/lib/mock/dist-an23-build-230176-62472/root/chroot_tmpdir/scmroot/libatomic_ops Cloning into '/var/lib/mock/dist-an23-build-230176-62472/root/chroot_tmpdir/scmroot/libatomic_ops'... $ git reset --hard origin/a23 HEAD is now at 6896a9c Import package for anolis 23