$ git clone -n https://gitee.com/kanghou-silver/python2.git /var/lib/mock/dist-an8.8-build-286822-64855/root/chroot_tmpdir/scmroot/python2 Cloning into '/var/lib/mock/dist-an8.8-build-286822-64855/root/chroot_tmpdir/scmroot/python2'... $ git fetch origin a8-python27-stream-2.7-sw:KOJI_FETCH_HEAD fatal: couldn't find remote ref a8-python27-stream-2.7-sw $ 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 [...] -- [...]'