$ git clone -n https://gitee.com/src-anolis-os/libnet.git /var/lib/mock/dist-an23.3-build-421321-72884/root/chroot_tmpdir/scmroot/libnet Cloning into '/var/lib/mock/dist-an23.3-build-421321-72884/root/chroot_tmpdir/scmroot/libnet'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/libnet * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 04f42a6 Update to 1.3 from 1.2