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