Open repositories on another machine over ssh; keep the window responsive while git runs #5
@@ -41,6 +41,14 @@
|
|||||||
In every layout, the words that changed inside a line are marked.
|
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
|
- **Opens other repositories** from a list of recent ones, or from a folder picker
|
||||||
(<kbd>o</kbd>).
|
(<kbd>o</kbd>).
|
||||||
|
- **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 (<kbd>o</kbd>) 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.
|
- **Stays current.** gites reloads the repository when its window gets focus again.
|
||||||
|
|
||||||

|

|
||||||
@@ -64,6 +72,7 @@ gites runs the `git` command, so git must be installed and on your `PATH`.
|
|||||||
```sh
|
```sh
|
||||||
gites # the repository in the current folder
|
gites # the repository in the current folder
|
||||||
gites ~/code/my-project # another repository
|
gites ~/code/my-project # another repository
|
||||||
|
gites myserver:/srv/app # a repository on another machine, over ssh
|
||||||
```
|
```
|
||||||
|
|
||||||
## Keys
|
## Keys
|
||||||
|
|||||||
Reference in New Issue
Block a user