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