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