$ git clone -n https://gitee.com/src-anolis-os/geolite2.git /mnt/mock/kojid//dist-an23.3-riscv-build-436224-73130/root/chroot_tmpdir/scmroot/geolite2 Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-436224-73130/root/chroot_tmpdir/scmroot/geolite2'... $ git fetch origin 3db96c0b1d6f007003ae09a29f4a8892eaea4af9:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/geolite2 * [new ref] 3db96c0b1d6f007003ae09a29f4a8892eaea4af9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD Updating files: 60% (3/5) Updating files: 80% (4/5) Updating files: 100% (5/5) Updating files: 100% (5/5), done. HEAD is now at 3db96c0 Update some description