$ git clone -n https://gitee.com/mgb01105731/libnet.git /var/lib/mock/dist-an23.2-build-414189-72829/root/chroot_tmpdir/scmroot/libnet Cloning into '/var/lib/mock/dist-an23.2-build-414189-72829/root/chroot_tmpdir/scmroot/libnet'... $ git fetch origin a23.2:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/libnet * [new branch] a23.2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 878e869 fix the source error