$ git clone -n https://gitee.com/src-anolis-os/zsh.git /var/lib/mock/dist-an8.8-build-281497-64676/root/chroot_tmpdir/scmroot/zsh Cloning into '/var/lib/mock/dist-an8.8-build-281497-64676/root/chroot_tmpdir/scmroot/zsh'... $ git fetch origin 1e97e43e59fd27dcaa22729f4fc4dbbb54779e12:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/zsh * [new ref] 1e97e43e59fd27dcaa22729f4fc4dbbb54779e12 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1e97e43 update to zsh-5.0.2-34.el7_7.2.src.rpm