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