$ git clone -n https://gitee.com/src-anolis-os/opensm.git /mnt/mock/kojid//dist-an23.3-riscv-build-438069-73130/root/chroot_tmpdir/scmroot/opensm Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-438069-73130/root/chroot_tmpdir/scmroot/opensm'... $ git fetch origin e523f6730afca999d76a393767472912ce707762:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/opensm * [new ref] e523f6730afca999d76a393767472912ce707762 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e523f67 init from upstream