Setting up git: Difference between revisions

Jump to navigation Jump to search
13 bytes removed ,  00:55, 21 September 2019
update addresses
(Why does the wiki not apply certain edits?)
(update addresses)
Line 47: Line 47:
== Step 5 - Forking Code ==
== Step 5 - Forking Code ==


* Head over to: https://github.com/yogstation13/Yogstation-TG
* Head over to: https://github.com/yogstation13/Yogstation
* Click the '''Fork''' button in the top right corner.
* Click the '''Fork''' button in the top right corner.
* The page you'll be directed to is now your fork. You'll be pushing updates here, and making pull requests to have them merged the main (master) repository.
* The page you'll be directed to is now your fork. You'll be pushing updates here, and making pull requests to have them merged the main (master) repository.
* Copy the HTTP URL. It's next to the '''HTTP''' '''GIT''' and '''Git Read-Only''' buttons. It'll look something like: https://github.com/NAME/Yogstation-TG
* Copy the HTTP URL. It's next to the '''HTTP''' '''GIT''' and '''Git Read-Only''' buttons. It'll look something like: https://github.com/NAME/Yogstation


== Step 6 - Downloading the Code ==
== Step 6 - Downloading the Code ==
Line 61: Line 61:
== Step 7 - Setting up TortoiseGit ==
== Step 7 - Setting up TortoiseGit ==


* Right click '''on the folder that was created''' (usually called Yogsstation-TG), and go to '''TortoiseGit''' and then click on '''Settings'''.
* Right click '''on the folder that was created''' (usually called Yogstation), and go to '''TortoiseGit''' and then click on '''Settings'''.
* Click on '''Remote''' under '''Git'''.
* Click on '''Remote''' under '''Git'''.
* There should be one thing on the list of remotes, with the name: '''origin'''.
* There should be one thing on the list of remotes, with the name: '''origin'''.
* You're now adding the main repository as a source you can pull updates from.
* You're now adding the main repository as a source you can pull updates from.
* In the '''Remote''' box type in '''upstream'''.
* In the '''Remote''' box type in '''upstream'''.
* In the '''URL:''' box put: https://github.com/yogstation13/Yogstation-TG.git
* In the '''URL:''' box put: https://github.com/yogstation13/Yogstation.git
* Click '''Add New/Save'''.
* Click '''Add New/Save'''.
* Click '''Ok'''.
* Click '''Ok'''.

Navigation menu