File tree Expand file tree Collapse file tree 1 file changed +23
-3
lines changed Expand file tree Collapse file tree 1 file changed +23
-3
lines changed Original file line number Diff line number Diff 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
1111Created by [ gh-md-toc] ( https://github.com/ekalinin/github-markdown-toc.go )
1212
@@ -69,6 +69,26 @@ The major points are:
6969
7070Coming 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 `
You can’t perform that action at this time.
0 commit comments