$ git clone -n https://gitee.com/opencloudos-stream/tmux.git /var/lib/mock/dist-ocs23-base-build-258268-24615/root/chroot_tmpdir/scmroot/tmux Cloning into '/var/lib/mock/dist-ocs23-base-build-258268-24615/root/chroot_tmpdir/scmroot/tmux'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/tmux * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 60e047c Rebuilt for loongarch release