Sharing a CONTRIBUTING.md file across multiple github repos

Problem: We have multiple github repos in the https://github.com/whatwg github org and want to have the same content in the CONTRIBUTING.md file in each repo—but we don’t want to manually maintain/revision the files separately. Instead we’d like to automate a way to keep them in sync.

So basically, I guess I’d like to have a “master” CONTRIBUTING.md, with copies in each repo that are (semi)automatically all keep in sync (somehow) with that master CONTRIBUTING.md.

  • Can I use command line to set developer verified for gerrit server changes
  • Bitbucket Webhooks
  • How can I tell from which branch the push is coming from?
  • How to automatically resolve a Git conflict by taking the version in the current branch?
  • How can I automatically keep two bare git repos in sync?
  • How to set the Productverion and Fileversion properties of the executable in PowerBuilder project built with PowerGen
  • So I can imagine we might be able to keep the master CONTRIBUTING.md in one repo, and maybe have a client-side hook set up for that repo such that each time somebody pushes a change to that master, the change gets pushed to all the other repos as well? Or maybe instead I could set it up to have the pushes to the other repos run automatically through Travis CI?

    Or maybe there’s some completely better way than using a client-side hook or Travis CI to do it?

    Anyway, as far as the “why” behind all this, the reason is, we want to consistently use the same contributor guidelines for each repo, and at the same time, we want to get the github-specific benefits that come from having a CONTRIBUTING.md file.

  • Heroku error: “Permission denied (public key)”
  • How do I edit an existing tag message in git?
  • Git credential helper doesn't work
  • Characters encoding wrong in terminal using git
  • How to remove a pushed commit on GitHub?
  • git-p4 migrate branches in different subdirectories
  • Git Baby is a git and github fan, let's start git clone.