$ git clone -n https://gitee.com/src-anolis-os/librabbitmq.git /var/lib/mock/dist-an23-build-239167-62909/root/chroot_tmpdir/scmroot/librabbitmq Cloning into '/var/lib/mock/dist-an23-build-239167-62909/root/chroot_tmpdir/scmroot/librabbitmq'... $ git reset --hard origin/a23 HEAD is now at 14eadf2 package init from upstream