$ git clone -n https://gitee.com/fundawang/ncurses.git /var/lib/mock/dist-an23-build-190168-60783/root/chroot_tmpdir/scmroot/ncurses Cloning into '/var/lib/mock/dist-an23-build-190168-60783/root/chroot_tmpdir/scmroot/ncurses'... $ git fetch origin 04ee4c1456e0947c4d97c0824c1d1c72e1f95fa4:KOJI_FETCH_HEAD From https://gitee.com/fundawang/ncurses * [new ref] 04ee4c1456e0947c4d97c0824c1d1c72e1f95fa4 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 04ee4c1 6.4