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