$ git clone -n https://gitee.com/src-anolis-os/eglexternalplatform.git /var/lib/mock/dist-an23-build-239621-62933/root/chroot_tmpdir/scmroot/eglexternalplatform Cloning into '/var/lib/mock/dist-an23-build-239621-62933/root/chroot_tmpdir/scmroot/eglexternalplatform'... $ git reset --hard origin/a23 HEAD is now at 8d2ee54 Init package from upstream