$ git clone -n https://gitee.com/src-anolis-os/bcc.git /var/lib/mock/dist-an23.3-riscv-build-442357-73168/root/chroot_tmpdir/scmroot/bcc Cloning into '/var/lib/mock/dist-an23.3-riscv-build-442357-73168/root/chroot_tmpdir/scmroot/bcc'... $ git fetch origin 69844b6d313455cdc2871afe65f4fef2c96df21c:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/bcc * [new ref] 69844b6d313455cdc2871afe65f4fef2c96df21c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 69844b6 enabled riscv build