Skip to content

Commit fcab12f

Browse files
authored
Merge pull request #46 from aharden/patch-1
Add GitHub instructions
2 parents b6af290 + d2a890c commit fcab12f

File tree

1 file changed

+23
-3
lines changed

1 file changed

+23
-3
lines changed

README.md

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Table of Contents
66
* [Copy This Repo Into Your Own Git Server](#copy-this-repo-into-your-own-git-server)
77
* [GitLab](#gitlab)
88
* [Stash](#stash)
9-
* [Github](#github)
9+
* [GitHub](#github)
1010

1111
Created by [gh-md-toc](https://github.com/ekalinin/github-markdown-toc.go)
1212

@@ -69,6 +69,26 @@ The major points are:
6969

7070
Coming soon!
7171

72-
### Github
72+
### GitHub
7373

74-
Coming soon!
74+
1. Prepare your local git client to authenticate with GitHub.com or a local GitHub Enterprise instance.
75+
- https://help.github.com/articles/generating-ssh-keys/
76+
- https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/
77+
78+
2. Create a repository called `control-repo` in your user account or organization. Ensure that "Initialize this repository with a README" is not selected.
79+
- https://help.github.com/articles/creating-a-new-repository/
80+
81+
3. Make a note of your repository URL (HTTPS or SSH, depending on your security configuration).
82+
83+
4. Clone this control repository to your laptop/workstation:
84+
- `git clone <repository url>`
85+
- `cd control-repo`
86+
87+
5. Remove this repository as the origin remote:
88+
- `git remote remove origin`
89+
90+
6. Add your internal repository as the origin remote:
91+
- `git remote add origin <url of your github repository>`
92+
93+
7. Push the production branch of the repository from your machine up to your git server
94+
- `git push origin production`

0 commit comments

Comments
 (0)