$ git clone -n https://git.cclinux.org/stage/rpms/ncurses.git /mnt/compose/mock/dist-circle8-build-110270-66313/root/chroot_tmpdir/scmroot/ncurses Cloning into '/mnt/compose/mock/dist-circle8-build-110270-66313/root/chroot_tmpdir/scmroot/ncurses'... $ git fetch origin 42e17a9f4a4052208c75517042178a17e42544d2:KOJI_FETCH_HEAD From https://git.cclinux.org/stage/rpms/ncurses * [new ref] 42e17a9f4a4052208c75517042178a17e42544d2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 42e17a9 import ncurses-6.1-10.20180224.el8