From 51df023a237cc8cc278cd25239f8deb358a9f135 Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Tue, 4 Oct 2016 11:40:14 +0300 Subject: [PATCH] README: add an example for remote git repository --- README-SSH.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README-SSH.md b/README-SSH.md index 97807ea..bfe5140 100644 --- a/README-SSH.md +++ b/README-SSH.md @@ -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