from Hacker News

Show HN: Point your repos to their new home

by yogsototh on 6/6/18, 2:17 PM with 15 comments

  • by jarfil on 6/6/18, 5:44 PM

    You know git is distributed? You can keep all your repos both on GitLab, GitHub, as many local machines as you want... etc. all at the same time.
  • by captn3m0 on 6/6/18, 6:11 PM

    don't do this please.

    I run my own gitea instance, and for repos that are in multiple places, I leave a note in the readme as to what the canonical URL is. If someone wants to open a PR or an issue on Github I don't wanna be hostile by having them create another account just to ask a question. Once the patch is merged, it gets pushed on all remotes.

    If you have a large project with lots of contributors and activity, and you actively want to discourage contributions in the wrong place, you can disable issues or PRs for that one repo.

    Also, people browse code using GitHub clients, serving an empty Readme is not a good idea to break that behaviour.