![]() ![]() Even Notepad, TextEdit, and gedit can open these files. ![]() They can be opened in any text editor that will open. c, and other file extensions instead of the. Code files are just normal text files, in this case using the. You may now make any changes to the code that you want. Now under the "LOCAL" header you should see your new branch selected. ![]() This will create a new branch and automatically check it out for you. Click this button then type a short description for what you intend your changes to be and press Enter. Now at the top of the screen is a button with a "Branch" label. If it is not currently selected double-click it to select it. You should already have "Dev" selected under the "LOCAL" heading on the left side of the GitKraken screen. When you start to add code you want to make a branch off of this main branch first. Other repositories may use branches called develop or development as well, and some just use master as their main branch. The main development branch for the randomizer is called Dev. You want to create a branch off of the main branch which will give you a clean workspace that you won't have to worry about figuring out how to update it when new changes are added to the main repository and you need to pull them down. Since repository maintainers will often change commits after they are submitted, usually to make the Git log history cleaner looking, you do not want to make changes directly on the main branch. The following steps go through the usual Git on GitHub workflow for contributions. Now that you have your own copy of the repository you can start changing code and submitting it to the main repo. You can follow these steps for any other Git or GitHub repositories you want to contribute to as well. Click Add Remote to add your copy of the repository to GitKraken.Ĭongratulations, you are now prepared to submit contributions to the randomizer. Ensure you change username to your GitHub username. Under "Pull URL" put the link to your repository. Under "Name" put your username so that you can tell that it is your repository. Click that then in the new box that appears choose the "URL" option. Now, go back to GitKraken and hover over the REMOTE header on the left side of the screen. This will create a copy of the repository on your account which you have permission to modify. Go to the main repository on GitHub and at the top right of the page you should see the Fork button. To actually make changes and upload them you need to create a copy of the main repository, called a Fork. While you now have a copy of the code on your computer, you do not have permission to push code changes directly on to the existing repository. GitKraken with Ocarina of Time Item Randomizer open Leave this alone and click Clone the repo!. Filling in the box will reveal a new "Full Path" text box. At the time of writing the current main repo is. In the URL box put the GitHub URL to the current main repository. Please choose a folder instead." Click on the arrow next to the "Documents" library and choose "My Documents" then click Select Folder. If you are using Windows 7 you will get an error saying "You've selected a library. This is fine, you can click Select Folder to use it. By default GitKraken should choose the "Documents" folder. Click on the Browse button next to the "Where to clone to" text box. With GitKraken set up go to File > Clone Repo and make sure "Clone with URL" is selected. Now, click Save Changes and GitKraken will open proper. The most important text box here is "Email" and it should be set to the same email address as your GitHub account. Under "Name" it is traditional to use your full first and last name, but if you are not comfortable with that you can enter a nick name. Ignore the "Profile Name" box, "Default Profile" is fine. Here you select an avatar which only you will see, but will pull from Gravatar if you use an email address associated with an account which GitHub will also do. There are a couple of things that need to be set up from here that you only need to do once. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |