$ git clone -n https://gitee.com/happy_orange/protobuf.git /var/lib/mock/dist-an23-build-342047-69941/root/chroot_tmpdir/scmroot/protobuf Cloning into '/var/lib/mock/dist-an23-build-342047-69941/root/chroot_tmpdir/scmroot/protobuf'... $ git fetch origin 936930edda429e8e35689e7e9b35d5ff923d4178:KOJI_FETCH_HEAD From https://gitee.com/happy_orange/protobuf * [new ref] 936930edda429e8e35689e7e9b35d5ff923d4178 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 936930e fix the source url error