$ git clone -n https://gitee.com/rabbitali/gcc.git /var/lib/mock/dist-an27-pre-build-580199-94822/root/chroot_tmpdir/scmroot/gcc Cloning into '/var/lib/mock/dist-an27-pre-build-580199-94822/root/chroot_tmpdir/scmroot/gcc'... $ git reset --hard master fatal: ambiguous argument 'master': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'