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