Setting up git: Difference between revisions

Jump to navigation Jump to search
No change in size ,  11:11, 4 July 2014
NT -> TG
imported>Rockdtben
No edit summary
imported>Jordie0608
(NT -> TG)
Line 40: Line 40:
== Step 5 - Forking Code ==
== Step 5 - Forking Code ==


* Head over to: https://github.com/NTStation/NTStation13
* Head over to: https://github.com/tgstation/-tg-station
* Click the '''Fork''' button in the top right corner.
* Click the '''Fork''' button in the top right corner.
* Experience hardcore forking action.
* Experience hardcore forking action.
* 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 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 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/NTStation13.git
* 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/-tg-station


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


* Right click '''on the folder that was created''' (usually called NTStation13), and go to '''TortoiseGit''' and then click on '''Settings'''.
* Right click '''on the folder that was created''' (usually called -tg-station13), 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 '''origin'''.
* There should be one thing on the list '''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''' (or whatever you like).
* In the '''Remote''' box type in '''upstream''' (or whatever you like).
* In the '''URL:''' box put: https://github.com/NTStation/NTStation13.git
* In the '''URL:''' box put: https://github.com/tgstation/-tg-station.git
* Click '''Add New/Save'''.
* Click '''Add New/Save'''.
* Click '''Ok'''.
* Click '''Ok'''.
Line 98: Line 98:
* Under Destination, set Remote: to '''origin'''.
* Under Destination, set Remote: to '''origin'''.
* Click '''Ok'''. This'll upload your changes to your remote repo (the one on GitHub).
* Click '''Ok'''. This'll upload your changes to your remote repo (the one on GitHub).
* Head to your GitHub repo e.g https://github.com/NAME/NTStation13.git
* Head to your GitHub repo e.g https://github.com/NAME/-tg-station13.git
* Click '''Pull Request''' at the top right.
* Click '''Pull Request''' at the top right.
* Fill out a summary and then create the pull request.
* Fill out a summary and then create the pull request.
Anonymous user

Navigation menu