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