$ git clone -n https://gitee.com/src-anolis-os/xorg-x11-xinit.git /mnt/mock/kojid//dist-an23.3-riscv-build-439811-73130/root/chroot_tmpdir/scmroot/xorg-x11-xinit Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-439811-73130/root/chroot_tmpdir/scmroot/xorg-x11-xinit'... $ git fetch origin 8e1e7bae0fa740b8fd8a884fd9291c80b6bedba6:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/xorg-x11-xinit * [new ref] 8e1e7bae0fa740b8fd8a884fd9291c80b6bedba6 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8e1e7ba optimize spec file