$ git clone -n https://gitee.com/src-anolis-os/cockpit.git /var/lib/mock/dist-an23-loongarch-build-324485-68565/root/chroot_tmpdir/scmroot/cockpit Cloning into '/var/lib/mock/dist-an23-loongarch-build-324485-68565/root/chroot_tmpdir/scmroot/cockpit'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/cockpit * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0e64286 init from upstream