$ git clone -n https://gitee.com/src-anolis-os/pcsc-lite.git /mnt/mock/kojid//dist-an23.3-riscv-build-438194-73130/root/chroot_tmpdir/scmroot/pcsc-lite Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-438194-73130/root/chroot_tmpdir/scmroot/pcsc-lite'... $ git fetch origin 8029e8ef24acd74995405a8f98158aebf0583c5a:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/pcsc-lite * [new ref] 8029e8ef24acd74995405a8f98158aebf0583c5a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8029e8e update to 2.0.0