$ git remote add upstream /joyent/documentation This is what git calls the repo that your forked from. at the end clones the repository into your directory instead of creating a new directory. $ mkdir local-forkĬlone the repo from your fork. You can clone it with the help of GitHub desktop or via the commandline:Ĭreate a directory for your repository and get into the directory. This clone is where you'll do all of your work. To create a local version of your forked repository, you must clone it to your local environment. In the top right corner, click Fork to add a copy of the repository to your account.įorking a repository means that you can make changes without directly affecting the original repository. Once you’re in the Joyent GitHub group, go to the repo which you wish to contribute to. You can contribute PRs to any repository by creating a fork. In order to contribute directly to a repository, you must get permission from a Joyent owner. Contributing directly to a Joyent repository If you're unsure of who to ask for permissions, ask your manager. This will allow you to see Joyent's public and private repos. ![]() Send your GitHub username to one of the Joyent owners to be added to the GitHub group. If you haven't already, signup for a GitHub account. Read the user guides for more instructions. If you prefer a GUI, you can use GitHub Desktop on both macOS and Windows. There's a quick gittutorial to help you learn the basics. To use GitHub locally via the commandline, install git. ![]() This guide can be used to better understand proper etiquette for contributing, while also (to the best of our ability) keeping people from stepping over each other's work. There are a large number of GitHub repositories in the Joyent group including one for the content of this documentation site, the main website, our software, and various others.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |