$ git clone -n https://gitee.com/src-anolis-os/libgweather.git /var/lib/mock/dist-an23.3-build-414367-72844/root/chroot_tmpdir/scmroot/libgweather Cloning into '/var/lib/mock/dist-an23.3-build-414367-72844/root/chroot_tmpdir/scmroot/libgweather'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/libgweather * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 05f40cd Sync up from CentOS Stream libgweather-4.4.4-1(tpopela@redhat.com)