you are viewing a single comment's thread
view the rest of the comments
[–] 23 points 1 week ago (1 child)

Perhaps we should use git in the distributed manner it was designed

  • source
  • hideshow 2 child comments
  • [–] 5 points 1 week ago (1 child)

    Yeah, too many people don't know about having multiple remotes

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 1 week ago (1 child)

    One thing, any chance you've heard of a way to have two remotes, one basically ignored gitignore (personal self-hosted storage) vs front-facing with github or similar?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 1 week ago

    Hmm not natively but I think you could hack something together using git plumbing, perhaps just some hooks. I would still advise against adding secrets to version control even if it stays completely local though, it's still "bad hygiene" and something you should try to avoid. You don't need to go with a full-fledged secret management solution, just keep your secrets in .envs or similar external files and use a password manager to store your live keys. Of course it all depends on the specific context, if it's something bound to loopback I'm not going to stop you from running admin:admin and committing that to your personal docker-compose stash, but if it's protecting something you care about don't put it in git.

  • source
  • parent