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