$ git clone -n https://gitee.com/happy_orange/spice.git /var/lib/mock/dist-an23-build-341792-69918/root/chroot_tmpdir/scmroot/spice Cloning into '/var/lib/mock/dist-an23-build-341792-69918/root/chroot_tmpdir/scmroot/spice'... $ git fetch origin f1552dd52bbd454c1d3e9e23f5c78ef90d3b2462:KOJI_FETCH_HEAD From https://gitee.com/happy_orange/spice * [new ref] f1552dd52bbd454c1d3e9e23f5c78ef90d3b2462 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f1552dd fix the source and url error