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