$ git clone -n https://gitee.com/xinlong-chen/zsh.git /var/lib/mock/dist-ocs23-base-build-298894-29233/root/chroot_tmpdir/scmroot/zsh Cloning into '/var/lib/mock/dist-ocs23-base-build-298894-29233/root/chroot_tmpdir/scmroot/zsh'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/xinlong-chen/zsh * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 85ca9c3 fix 'dnf install [tab]' error