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