$ git clone -n https://gitee.com/src-anolis-os/xterm.git /var/lib/mock/dist-an8.9-build-337024-69702/root/chroot_tmpdir/scmroot/xterm Cloning into '/var/lib/mock/dist-an8.9-build-337024-69702/root/chroot_tmpdir/scmroot/xterm'... $ git fetch origin a8:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/xterm * [new branch] a8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4df2e83 update to xterm-331-2