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