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