![]() ![]() However, the goal here is to contribute to the original repository and we want to keep up to date with the original. This means that when you do git add/ git commit/ git push you can push your local changes to the forked repository. When you cloned the forked repository onto your local computer, git automatically added a remote repository named “origin” pointing to the forked repository on GitHub. Then, at the command line, clone the repository, for example: $ git clone Navigate to your forked repository on GitHub, click the “Clone or download” button and copy the url. This is as simple as using git clone on the forked repository. ![]() Clone the repository locallyīefore you can make changes to the repository you’ll first want to make a local copy on your computer. To fork a repository, find it on GitHub and then click the Fork button. A “fork” is just an independent copy of a repository that you can develop on without affecting the original. The first step is to fork the GitHub repository you want to work on.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |