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