$ git clone -n https://gitee.com/lizhao2025/libgweather.git /var/lib/mock/dist-an23-build-496661-74608/root/chroot_tmpdir/scmroot/libgweather Cloning into '/var/lib/mock/dist-an23-build-496661-74608/root/chroot_tmpdir/scmroot/libgweather'... $ git fetch origin 4b30270326dc56a54cc54a05c847f9e0c47b7ea1:KOJI_FETCH_HEAD From https://gitee.com/lizhao2025/libgweather * [new ref] 4b30270326dc56a54cc54a05c847f9e0c47b7ea1 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4b30270 Update code from upstream