What is difference between fork and clone? #58117
Replies: 2 comments 1 reply
-
Forking and cloning are two different concepts in GitHub, although they are related. Forking a repository means creating a copy of someone else's repository under your own account. This allows you to make changes to the repository without affecting the original repository. When you fork a repository, you create a new repository that is linked to the original repository, which means you can easily keep your fork up-to-date with any changes made to the original repository. Cloning a repository means creating a local copy of a remote repository on your own computer. This allows you to work on the repository locally and make changes without affecting the remote repository. When you clone a repository, you create a copy of the entire repository, including all of its files, branches, and commit history. In summary, forking is about creating a copy of someone else's repository in your own account, while cloning is about creating a local copy of a remote repository on your own computer. |
Beta Was this translation helpful? Give feedback.
-
@superdev223 & @HappyDream0317, GitHub's Acceptable Use Policies prohibits coordinated or inauthentic activity like rapid questions and answers. As a result, we'll be unmarking the answer and locking this post. Please note any future violations may result in a temporary or indefinite block from the Community. Thanks for understanding. |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
I can't sure what is difference between fork and clone.
Beta Was this translation helpful? Give feedback.
All reactions