Last active
April 7, 2017 17:43
-
-
Save hjhart/c1fb019a2ef3320f690e1076cabdb44e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bundle config github.com c0db1529df7dfe5168c4f7c28fa2e005f9984b32 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BUNDLE_GITHUB__COM=c0db1529df7dfe5168c4f7c28fa2e005f9984b32 bundle install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The git source `git://github.com/hjhart/private_repo.git` uses the `git` protocol, which transmits data without encryption. Disable this warning with `bundle config git.allow_insecure true`, or switch to the `https` protocol to keep your data secure. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl --user 'hjhart' -d '{"scopes":["repo"],"note":"Blog Post Example 2"}' https://api.github.com/authorizations |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": 93931604, | |
"url": "https://api.github.com/authorizations/12312", | |
"app": { | |
"name": "Blog Post Example", | |
"url": "https://developer.github.com/v3/oauth_authorizations/", | |
"client_id": "00000000000000000000" | |
}, | |
"token": "c0db1529df7dfe5168c4f7c28fa2e005f9984b32", | |
"hashed_token": "REDACTED", | |
"token_last_eight": "f9984b32", | |
"note": "Blog Post Example", | |
"note_url": null, | |
"created_at": "2017-04-05T19:12:59Z", | |
"updated_at": "2017-04-05T19:12:59Z", | |
"scopes": [ | |
"repo" | |
], | |
"fingerprint": null | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Change any of these versions | |
gem 'private_repo', git: '[email protected]:hjhart/private_repo.git', branch: :master | |
gem 'private_repo', github: 'hjhart/private_repo' | |
# Into this version | |
gem 'private_repo', git: "https://github.com/hjhart/private_repo" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://c0db1529df7dfe5168c4f7c28fa2e005f9984b32:[email protected]/hjhart/private_repo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://[email protected]/hjhart/private_repo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
BUNDLE_GITHUB__COM: "c0db1529df7dfe5168c4f7c28fa2e005f9984b32" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment