$ git clone -n https://gitee.com/src-anolis-os/librabbitmq.git /var/lib/mock/dist-an23-build-274950-64262/root/chroot_tmpdir/scmroot/librabbitmq Cloning into '/var/lib/mock/dist-an23-build-274950-64262/root/chroot_tmpdir/scmroot/librabbitmq'... $ git reset --hard origin/a23 HEAD is now at 6ee0124 cleanup spec $ git lfs pull