$ git clone -n https://gitee.com/fundawang/lvm2.git /var/lib/mock/dist-an23-build-331391-69543/root/chroot_tmpdir/scmroot/lvm2 Cloning into '/var/lib/mock/dist-an23-build-331391-69543/root/chroot_tmpdir/scmroot/lvm2'... $ git fetch origin 1a88122cf1daf66d686133b363b89f1b3dfe3516:KOJI_FETCH_HEAD From https://gitee.com/fundawang/lvm2 * [new ref] 1a88122cf1daf66d686133b363b89f1b3dfe3516 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1a88122 2.03.23