$ git clone -n https://gitee.com/src-anolis-os/cups.git /var/lib/mock/dist-an23.3-riscv-build-436032-73130/root/chroot_tmpdir/scmroot/cups Cloning into '/var/lib/mock/dist-an23.3-riscv-build-436032-73130/root/chroot_tmpdir/scmroot/cups'... $ git fetch origin 4bf4143e001e61661c852065aa555f1b1da608bb:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/cups * [new ref] 4bf4143e001e61661c852065aa555f1b1da608bb -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4bf4143 update to 2.4.10