diff options
author | mail_redacted_for_web | 2016-11-08 11:34:09 -0800 |
---|---|---|
committer | mail_redacted_for_web | 2016-11-08 11:34:09 -0800 |
commit | fcab12f772f93ddf5afc4cd93ae88136e91d9d76 (patch) | |
tree | 295851c2f9468b3ecfc7e14415c13ae7405f8857 | |
parent | b6af290069f6ff5bba64ba63e983964c44ccae84 (diff) | |
parent | d2a890ceae5528ae3577d8b86576a0005965c323 (diff) | |
download | control-repo-template-fcab12f772f93ddf5afc4cd93ae88136e91d9d76.tar.bz2 |
Merge pull request #46 from aharden/patch-1
Add GitHub instructions
-rw-r--r-- | README.md | 26 |
1 files changed, 23 insertions, 3 deletions
@@ -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 <repository url>` + - `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 <url of your github repository>` + +7. Push the production branch of the repository from your machine up to your git server + - `git push origin production` |