$ git clone -n https://gitee.com/happy_orange/beakerlib.git /var/lib/mock/dist-an23-build-342647-69976/root/chroot_tmpdir/scmroot/beakerlib Cloning into '/var/lib/mock/dist-an23-build-342647-69976/root/chroot_tmpdir/scmroot/beakerlib'... $ git reset --hard 4776abb914a240d87a5fccea56937ab174e91848 HEAD is now at 4776abb fix the source error