$ git clone -n https://gitee.com/src-anolis-os/xhtml1-dtds.git /mnt/mock/kojid//dist-an23.5-AImanager-build-535602-82037/root/chroot_tmpdir/scmroot/xhtml1-dtds Cloning into '/mnt/mock/kojid//dist-an23.5-AImanager-build-535602-82037/root/chroot_tmpdir/scmroot/xhtml1-dtds'... $ git fetch origin 976256bdf16bb19f6c9bb99db5421e281f1bcae9:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/xhtml1-dtds * [new ref] 976256bdf16bb19f6c9bb99db5421e281f1bcae9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 976256b init