$ git clone -n https://gitee.com/kanghou-silver/python2.git /var/lib/mock/dist-an8.7-build-286823-64469/root/chroot_tmpdir/scmroot/python2 Cloning into '/var/lib/mock/dist-an8.7-build-286823-64469/root/chroot_tmpdir/scmroot/python2'... $ git reset --hard origin/a8-python27-stream-2.7-sw fatal: ambiguous argument 'origin/a8-python27-stream-2.7-sw': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'