$ git clone -n https://gitee.com/leeffo/deepin-desktop-base.git /var/lib/mock/dist-an8.7-dde-la64-build-154008-58211/root/chroot_tmpdir/scmroot/deepin-desktop-base Cloning into '/var/lib/mock/dist-an8.7-dde-la64-build-154008-58211/root/chroot_tmpdir/scmroot/deepin-desktop-base'... $ git reset --hard origin/ed83274 fatal: ambiguous argument 'origin/ed83274': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'