$ git clone -n https://gitee.com/src-anolis-os/xhtml1-dtds.git /var/lib/mock/dist-an23.5-AImanager-build-535911-82037/root/chroot_tmpdir/scmroot/xhtml1-dtds Cloning into '/var/lib/mock/dist-an23.5-AImanager-build-535911-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