$ git clone -n https://gitee.com/src-anolis-os/bzip2.git /mnt/mock/kojid//dist-an23.3-riscv-build-435925-73130/root/chroot_tmpdir/scmroot/bzip2 Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-435925-73130/root/chroot_tmpdir/scmroot/bzip2'... $ git fetch origin 3d57f05c5ab603304fa92cefa022ab3fb025a5a2:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/bzip2 * [new ref] 3d57f05c5ab603304fa92cefa022ab3fb025a5a2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3d57f05 1.0.8