$ git clone -n https://gitee.com/happy_orange/ftp.git /var/lib/mock/dist-an23-build-343470-70029/root/chroot_tmpdir/scmroot/ftp Cloning into '/var/lib/mock/dist-an23-build-343470-70029/root/chroot_tmpdir/scmroot/ftp'... $ git reset --hard 1dbd6c09a7fc562c735305352448dd5b88608338 HEAD is now at 1dbd6c0 fix the source error