Fork
Fork generally used in open source project, where everyone can have read access of repository. Everyone can fork it.
- It copies whole repository from another account to your account.
- Now this is your separate copy of repository.
- You can modify source code. It will not changed the source code from where you forked.
- If you want to merge your changes to original repository then you need to create pull request.
- The owner will get notification and will accept/decline it.
- If he accepted then it will merge in the original repository.
Difference Between Fork and Clone
Fork: Copy repository from another account to your account. This is feature of Bitbucket/Github.
Clone: Copy your remote repository to your local repository (machine).
No comments:
Post a Comment