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