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