$ git clone -n https://gitee.com/opencloudos-stream/ghc-managed.git /var/lib/mock/dist-oc9-epol-build-211970-80719/root/chroot_tmpdir/scmroot/ghc-managed Cloning into '/var/lib/mock/dist-oc9-epol-build-211970-80719/root/chroot_tmpdir/scmroot/ghc-managed'... $ git fetch origin master --background:KOJI_FETCH_HEAD fatal: invalid refspec 'master --background:KOJI_FETCH_HEAD' $ git reset --hard origin/master --background fatal: ambiguous argument 'origin/master --background': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'