$ git clone -n https://gitee.com/src-opencloudos-rpms/gobject-introspection.git /var/lib/mock/dist-oc8-build-257940-84802/root/chroot_tmpdir/scmroot/gobject-introspection Cloning into '/var/lib/mock/dist-oc8-build-257940-84802/root/chroot_tmpdir/scmroot/gobject-introspection'... $ git fetch origin a2a0a7de97f51372914768c30c7b2de7e74ace5b:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/gobject-introspection * [new ref] a2a0a7de97f51372914768c30c7b2de7e74ace5b -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a2a0a7d import gobject-introspection-1.56.1-3.tl3