$ git clone -n https://gitee.com/src-anolis-os/swtpm.git /mnt/mock/kojid//dist-an23.3-riscv-build-439492-73130/root/chroot_tmpdir/scmroot/swtpm Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-439492-73130/root/chroot_tmpdir/scmroot/swtpm'... $ git fetch origin ae3e1b66eb7cd0310268c4496caed892922dae0b:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/swtpm * [new ref] ae3e1b66eb7cd0310268c4496caed892922dae0b -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ae3e1b6 update to 0.9.0