$ git clone -n https://gitee.com/src-anolis-os/ndctl.git /var/lib/mock/dist-an8.8-build-282459-64694/root/chroot_tmpdir/scmroot/ndctl Cloning into '/var/lib/mock/dist-an8.8-build-282459-64694/root/chroot_tmpdir/scmroot/ndctl'... $ git fetch origin nftables/a8:KOJI_FETCH_HEAD fatal: couldn't find remote ref nftables/a8 $ git reset --hard nftables/a8 fatal: ambiguous argument 'nftables/a8': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'