$ git clone -n https://gitee.com/src-anolis-os/libreswan.git /var/lib/mock/dist-an23.2-build-433992-73078/root/chroot_tmpdir/scmroot/libreswan Cloning into '/var/lib/mock/dist-an23.2-build-433992-73078/root/chroot_tmpdir/scmroot/libreswan'... $ git fetch origin a23.2:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/libreswan * [new branch] a23.2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7b0f6a8 Rebrand to anolis