$ git clone -n https://gitee.com/lizhao2025/tpm2-abrmd.git /var/lib/mock/dist-an23-build-497291-74608/root/chroot_tmpdir/scmroot/tpm2-abrmd Cloning into '/var/lib/mock/dist-an23-build-497291-74608/root/chroot_tmpdir/scmroot/tpm2-abrmd'... $ git fetch origin deb594a55a2f7ebe7ff876e81529535cd6eb1c10:KOJI_FETCH_HEAD From https://gitee.com/lizhao2025/tpm2-abrmd * [new ref] deb594a55a2f7ebe7ff876e81529535cd6eb1c10 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at deb594a Update code from upstream