$ git clone -n https://gitee.com/fundawang/enchant2.git /var/lib/mock/dist-an23-build-293236-65148/root/chroot_tmpdir/scmroot/enchant2 Cloning into '/var/lib/mock/dist-an23-build-293236-65148/root/chroot_tmpdir/scmroot/enchant2'... $ git fetch origin 1469cad29d0dc5d3a1970c459f6e0f8e652f80cf:KOJI_FETCH_HEAD From https://gitee.com/fundawang/enchant2 * [new ref] 1469cad29d0dc5d3a1970c459f6e0f8e652f80cf -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1469cad 2.5.0