$ git clone -n https://gitee.com/src-opencloudos-rpms/glib2.git /var/lib/mock/dist-oc8_6-updates-build-26888-7998/root/chroot_tmpdir/scmroot/glib2 Cloning into '/var/lib/mock/dist-oc8_6-updates-build-26888-7998/root/chroot_tmpdir/scmroot/glib2'... $ git reset --hard origin/oc8 HEAD is now at 3a4639e import glib2-2.56.4-159.oc8