11/11/2023 0 Comments Git definition cloneIt is a better option to fork before clone if the user is not declared as a contributor and it is a third-party repository (not of the organization).įorking is a concept while cloning is a process. So in that case, the changes made in the cloned repository are first pushed to the forked repository and then a pull request is created. If the user does not have write access, the only way to go is through the forked request. For this, the user must have the write access to the repository otherwise this is not possible. On the other hand, changes made on the local machine (cloned repository) can be pushed to the upstream repository directly. Pull request knocks the repository owner and tells that " I have made some changes, please merge these changes to your repository if you like it". Whereas, when you clone a repository, the repository is copied on to your local machine with the help of Git.Ĭhanges made to the forked repository can be merged with the original repository via a pull request. When you fork a repository, you create a copy of the original repository (upstream repository) but the repository remains on your GitHub account.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |