$ git clone -n https://gitee.com/mgb01105731/swtpm.git /var/lib/mock/dist-an23.2-build-411809-72783/root/chroot_tmpdir/scmroot/swtpm Cloning into '/var/lib/mock/dist-an23.2-build-411809-72783/root/chroot_tmpdir/scmroot/swtpm'... $ git fetch origin a23.2:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/swtpm * [new branch] a23.2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7d27e57 update to 0.8.1