$ git clone -n https://gitee.com/mgb01105731/poetry.git /var/lib/mock/dist-an23.3-build-491826-74536/root/chroot_tmpdir/scmroot/poetry Cloning into '/var/lib/mock/dist-an23.3-build-491826-74536/root/chroot_tmpdir/scmroot/poetry'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/poetry * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ab0c4c9 init