$ git clone -n https://gitee.com/fe_zhang/eglexternalplatform.git /var/lib/mock/dist-an23-build-239585-62930/root/chroot_tmpdir/scmroot/eglexternalplatform Cloning into '/var/lib/mock/dist-an23-build-239585-62930/root/chroot_tmpdir/scmroot/eglexternalplatform'... $ git reset --hard 8d2ee54164e55ba1c5258c5c88bbefc210d4b0f4 HEAD is now at 8d2ee54 Init package from upstream