$ git clone -n https://gitee.com/fundawang/libreswan.git /var/lib/mock/dist-an23-build-270542-64121/root/chroot_tmpdir/scmroot/libreswan Cloning into '/var/lib/mock/dist-an23-build-270542-64121/root/chroot_tmpdir/scmroot/libreswan'... $ git fetch origin 3a679015039f705b8481dc64b64ba3ad7df94d9f:KOJI_FETCH_HEAD From https://gitee.com/fundawang/libreswan * [new ref] 3a679015039f705b8481dc64b64ba3ad7df94d9f -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3a67901 Rebrand to anolis