$ git clone -n https://gitee.com/src-opencloudos-rpms/ncurses /var/lib/mock/dist-oc8-build-58038-15875/root/chroot_tmpdir/scmroot/ncurses Cloning into '/var/lib/mock/dist-oc8-build-58038-15875/root/chroot_tmpdir/scmroot/ncurses'... $ git fetch origin oc8:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/ncurses * [new branch] oc8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9d1e9ad import ncurses-6.1-10.20180224.tl3