$ git clone -n https://gitee.com/src-anolis-os/bc.git /var/lib/mock/dist-an23-build-155393-58313/root/chroot_tmpdir/scmroot/bc Cloning into '/var/lib/mock/dist-an23-build-155393-58313/root/chroot_tmpdir/scmroot/bc'... $ git reset --hard origin/a23 HEAD is now at 1811ce4 init package