$ git clone -n https://gitee.com/src-opencloudos-rpms/glib2.git /var/lib/mock/dist-oc8-build-74490-50569/root/chroot_tmpdir/scmroot/glib2 Cloning into '/var/lib/mock/dist-oc8-build-74490-50569/root/chroot_tmpdir/scmroot/glib2'... $ git fetch origin 4e8ca879be10b1397e38d5ab31416e36af619b5f:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/glib2 * [new ref] 4e8ca879be10b1397e38d5ab31416e36af619b5f -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4e8ca87 import glib2-2.56.4-162.tl3