diff --git a/README.md b/README.md index 3d66060..e1e4122 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Table of Contents * [Copy This Repo Into Your Own Git Server](#copy-this-repo-into-your-own-git-server) * [GitLab](#gitlab) * [Stash](#stash) - * [Github](#github) + * [GitHub](#github) Created by [gh-md-toc](https://github.com/ekalinin/github-markdown-toc.go) @@ -69,6 +69,26 @@ The major points are: Coming soon! -### Github +### GitHub -Coming soon! +1. Prepare your local git client to authenticate with GitHub.com or a local GitHub Enterprise instance. + - https://help.github.com/articles/generating-ssh-keys/ + - https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/ + +2. Create a repository called `control-repo` in your user account or organization. Ensure that "Initialize this repository with a README" is not selected. + - https://help.github.com/articles/creating-a-new-repository/ + +3. Make a note of your repository URL (HTTPS or SSH, depending on your security configuration). + +4. Clone this control repository to your laptop/workstation: + - `git clone ` + - `cd control-repo` + +5. Remove this repository as the origin remote: + - `git remote remove origin` + +6. Add your internal repository as the origin remote: + - `git remote add origin ` + +7. Push the production branch of the repository from your machine up to your git server + - `git push origin production`