$ git clone -n https://gitee.com/src-anolis-os/thunderbird.git /var/lib/mock/dist-an7_9-updates-build-217284-62007/root/chroot_tmpdir/scmroot/thunderbird Cloning into '/var/lib/mock/dist-an7_9-updates-build-217284-62007/root/chroot_tmpdir/scmroot/thunderbird'... $ git reset --hard origin/246da4dd564d5bccdd144730126d43c4264ec4b5 fatal: ambiguous argument 'origin/246da4dd564d5bccdd144730126d43c4264ec4b5': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'