What's the difference between creating a mirror and a fork. Both are copies of a repo, but is one a shallow copy (mirror) and one a deep copy (fork)? Just trying to get a better understanding for migrating a repo.
CodePudding user response:
- A
fork
is a copy of a repository. Forking a repository allows you to freely experiment with changes without affecting the original project. Usually a fork knows about its source repository, usually calledupstream
. This fact allows for sending pull requests (changes between upstream repo and the fork) back to upstream repo. - A
mirror
allows to maintain a copy of repository without forking it