$ git clone -n https://gitee.com/wency_cn/libgweather.git /var/lib/mock/dist-an23-build-502459-74802/root/chroot_tmpdir/scmroot/libgweather Cloning into '/var/lib/mock/dist-an23-build-502459-74802/root/chroot_tmpdir/scmroot/libgweather'... $ git fetch origin 0209cb522b5f346b32c44a4cc22dfb2fde1e4f40:KOJI_FETCH_HEAD From https://gitee.com/wency_cn/libgweather * [new ref] 0209cb522b5f346b32c44a4cc22dfb2fde1e4f40 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0209cb5 Update code from upstream