$ git clone -n https://gitee.com/zhuhong_bo/deepin-reader /var/lib/mock/dist-an7-els-build-489291-73148/root/chroot_tmpdir/scmroot/deepin-reader Cloning into '/var/lib/mock/dist-an7-els-build-489291-73148/root/chroot_tmpdir/scmroot/deepin-reader'... $ git reset --hard origin/a7 fatal: ambiguous argument 'origin/a7': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'