Merge pull request #42 from romanz/ssh-git

README: add an example for remote git repository
This commit is contained in:
Roman Zeyde
2016-10-04 11:43:55 +03:00
committed by GitHub

View File

@@ -43,3 +43,17 @@ Run:
~ $
Make sure to confirm SSH signature on the Trezor device when requested.
## Accessing remote Git repositories
Use your SSH public key to access your remote repository (e.g. [GitHub](https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/)):
$ trezor-agent -v -e ed25519 git@github.com | xclip
Use the following Bash alias for convinient Git operations:
$ alias git_hub='trezor-agent -v -e ed25519 git@github.com -- git'
Replace `git` with `git_hub` for remote operations:
$ git_hub push origin master