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