$ git clone -n https://gitee.com/zhonglingh/libarrow /var/lib/mock/dist-an23-epao-build-343921-70026/root/chroot_tmpdir/scmroot/libarrow Cloning into '/var/lib/mock/dist-an23-epao-build-343921-70026/root/chroot_tmpdir/scmroot/libarrow'... $ git reset --hard a23 fatal: ambiguous argument 'a23': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'