$ git clone -n https://gitee.com/mgb01105731/ftp.git /var/lib/mock/dist-an23-build-343655-70037/root/chroot_tmpdir/scmroot/ftp Cloning into '/var/lib/mock/dist-an23-build-343655-70037/root/chroot_tmpdir/scmroot/ftp'... $ git reset --hard 7b7d7c74c2b520f9a63e0a721a98c9635f23549c HEAD is now at 7b7d7c7 fix the source error