From 5ef5c1ba945f71bb86a2d83b21c21f98a990417e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mirek=20Wr=C3=B3bel?= Date: Thu, 15 Oct 2026 15:16:46 +0200 Subject: [PATCH] README: repositories on another machine --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 8f3b1d8..154386e 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,14 @@ In every layout, the words that changed inside a line are marked. - **Opens other repositories** from a list of recent ones, or from a folder picker (o). +- **Opens repositories on another machine.** Write the place as `[user@]host:path`, for + example `gites myserver:/srv/app`, or choose **Open on another machine…** in the + repository menu (o) or on the welcome screen. `host` can be any host name + from your `~/.ssh/config`; that file is also where a port other than 22 goes. gites + runs git on that machine through ssh, so git must be installed there. It logs in with + your ssh keys or the ssh agent and never asks for a password, so a login that needs a + password does not work. You see the history of the repository on that machine: its own + branches and its checked-out branch, as for a repository on this computer. - **Stays current.** gites reloads the repository when its window gets focus again. ![The diff of one file, with old and new side by side and the changed words marked](docs/screenshots/diff.png) @@ -64,6 +72,7 @@ gites runs the `git` command, so git must be installed and on your `PATH`. ```sh gites # the repository in the current folder gites ~/code/my-project # another repository +gites myserver:/srv/app # a repository on another machine, over ssh ``` ## Keys