$ git clone -n https://gitee.com/wanghuan158/qemu.git /var/lib/mock/dist-an23-build-451028-73471/root/chroot_tmpdir/scmroot/qemu Cloning into '/var/lib/mock/dist-an23-build-451028-73471/root/chroot_tmpdir/scmroot/qemu'... $ git fetch origin 1cbdefc2a7ecc58165e0e233dcdc479d211081d3:KOJI_FETCH_HEAD From https://gitee.com/wanghuan158/qemu * [new ref] 1cbdefc2a7ecc58165e0e233dcdc479d211081d3 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1cbdefc Sync upstream changes