• Can I opensource it in a way where changes is not open to the public?
  • I have google verification file on my git, is it ok to put it in the public?

The platform is gitlab.

  • breadsmasher@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    7 months ago

    You can use a public repo for your code. What do you mean changes to the public? If its other people changing your website, all that access is up to you. Publishing the code doesn’t mean letting anybody else submit changes to it.

    What is a google verification file? Doesn’t sound like something youd want in a repository

    • theit8514@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      7 months ago

      It’s likely a Google Console verification file to show you own the domain (e.g. to make changes to search results). It has to be published to the site with a random url that only the owner and Google know, but it’s still a public file. I don’t think it’s an issue if it’s stored in source as Google will query the site and not the source for that file.

      If OP is concerned they can also change the verification method: https://support.google.com/webmasters/answer/9008080?hl=en