$ git clone -n https://gitee.com/mgb01105731/ncurses.git /var/lib/mock/dist-an23.3-build-422501-72919/root/chroot_tmpdir/scmroot/ncurses Cloning into '/var/lib/mock/dist-an23.3-build-422501-72919/root/chroot_tmpdir/scmroot/ncurses'... $ git fetch origin fa923d03c3907796c5822f95dc7183ee85a512a1:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/ncurses * [new ref] fa923d03c3907796c5822f95dc7183ee85a512a1 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at fa923d0 Update to patchlevel 20240127