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