$ git clone -n https://gitee.com/wanghuan158/wordpress.git /var/lib/mock/dist-an23-epao-build-430252-73050/root/chroot_tmpdir/scmroot/wordpress Cloning into '/var/lib/mock/dist-an23-epao-build-430252-73050/root/chroot_tmpdir/scmroot/wordpress'... $ git fetch origin deb6a22cc163c5aac75103f94b34b1ff0cf29112:KOJI_FETCH_HEAD From https://gitee.com/wanghuan158/wordpress * [new ref] deb6a22cc163c5aac75103f94b34b1ff0cf29112 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at deb6a22 mm