$ git clone -n https://gitee.com/zhonglingh/xformers.git /var/lib/mock/dist-an23-epao-build-354168-71029/root/chroot_tmpdir/scmroot/xformers Cloning into '/var/lib/mock/dist-an23-epao-build-354168-71029/root/chroot_tmpdir/scmroot/xformers'... $ git fetch origin a23:KOJI_FETCH_HEAD fatal: couldn't find remote ref a23 $ git reset --hard origin/a23 fatal: ambiguous argument 'origin/a23': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'