$ git clone -n https://gitee.com/src-anolis-os/bolt.git /var/lib/mock/dist-an23-build-238200-62846/root/chroot_tmpdir/scmroot/bolt Cloning into '/var/lib/mock/dist-an23-build-238200-62846/root/chroot_tmpdir/scmroot/bolt'... $ git reset --hard origin/a23 HEAD is now at d034232 Init package from upstream