Search code examples
gitgithubopen-source

What are the consequences of renaming a fork on GitHub?


If I fork open-source repository A on GitHub and rename it to B via the Settings tab will I still be able to:

  1. Merge later changes from A into B?
  2. Submit pull requests to A based on changes I have made to B?

Are there any other potential consequences of a rename that I haven't thought of?


Solution

  • Yes

    you can rename your fork without losing the ability to create pull requests and merge changes. Just make sure that you update the URL of the remote in your local clones.

    (I forked a project on GitHub, changed its name. Everything still works)