mirror of
https://github.com/extrawurst/gitui.git
synced 2024-11-28 22:22:23 +03:00
27 lines
1.6 KiB
Markdown
27 lines
1.6 KiB
Markdown
|
|
|
|
## <a name="table-of-contents"></a> Table of Contents
|
|
|
|
1. ["Bad Credentials" Error](#credentials)
|
|
2. [Custom key bindings](#keybindings)
|
|
2. [Watcher](#watcher)
|
|
|
|
## 1. <a name="credentials"></a> "Bad Credentials" Error <small><sup>[Top ▲](#table-of-contents)</sup></small>
|
|
|
|
Some users have trouble pushing/pulling from remotes and adding their ssh-key to their ssh-agent solved the issue. The error they get is:
|
|
![](./assets/bad-credentials.png)
|
|
|
|
See Github's excellent documentation for [Adding your SSH Key to the ssh-agent](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent#adding-your-ssh-key-to-the-ssh-agent)
|
|
|
|
Note that in some cases adding the line `ssh-add -K ~/.ssh/id_ed25519`(or whatever your key is called) to your bash init script is necessary too to survive restarts.
|
|
|
|
## 2. <a name="keybindings"></a> Custom key bindings <small><sup>[Top ▲](#table-of-contents)</sup></small>
|
|
|
|
If you want to use `vi`-style keys or customize your key bindings in any other fashion see the specific docs on that: [key config](./KEY_CONFIG.md)
|
|
|
|
## 3. <a name="watcher"></a> Watching for changes <small><sup>[Top ▲](#table-of-contents)</sup></small>
|
|
|
|
By default, `gitui` polls for changes in the working directory every 5 seconds. If you supply `--watcher` as an argument, it uses a `notify`-based approach instead. This is usually faster and was for some time the default update strategy. It turned out, however, that `notify`-based updates can cause issues on some platforms, so tick-based updates seemed like a safer default.
|
|
|
|
See #1444 for details.
|