$ git clone -n https://gitee.com/src-anolis-os/lsscsi.git /var/lib/mock/dist-an23-build-129649-46272/root/chroot_tmpdir/scmroot/lsscsi Cloning into '/var/lib/mock/dist-an23-build-129649-46272/root/chroot_tmpdir/scmroot/lsscsi'... $ git reset --hard origin/a23 HEAD is now at ed3f2de add doc package