Skip to content

Commit da531c6

Browse files
committed
added faq page
1 parent 02efae1 commit da531c6

File tree

4 files changed

+36
-10
lines changed

4 files changed

+36
-10
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1919
* stack popups ([#846](https://github.com/extrawurst/gitui/issues/846))
2020
* file history log [[@cruessler](https://github.com/cruessler)] ([#381](https://github.com/extrawurst/gitui/issues/381))
2121
* termux support on andriod [[@PeroSar](https://github.com/PeroSar)] ([#1139](https://github.com/extrawurst/gitui/issues/1139))
22+
* new [FAQ](./FAQ.md)s page
2223

2324
### Fixed
2425
* opening tags list without remotes ([#1111](https://github.com/extrawurst/gitui/issues/1111))

FAQ.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
2+
3+
## <a name="table-of-contents"></a> Table of Contents
4+
5+
1. ["Bad Credentials" Error](#credentials)
6+
2. [Custom key bindings](#keybindings)
7+
8+
## 1. <a name="credentials"></a> "Bad Credentials" Error <small><sup>[Top ▲](#table-of-contents)</sup></small>
9+
10+
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:
11+
![](./assets/bad-credentials.png)
12+
13+
See gihtub'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)
14+
15+
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.
16+
17+
## 2. <a name="keybindings"></a> Custom key bindings <small><sup>[Top ▲](#table-of-contents)</sup></small>
18+
19+
If you want to use `vi`-style keys or customize your key bindings in any other fassion see the specific docs on that: [key config](./KEY_CONFIG.md)
20+

README.md

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,12 @@
3232
5. [Limitations](#limitations)
3333
6. [Installation](#installation)
3434
7. [Build](#build)
35-
8. [Diagnostics](#diagnostics)
36-
9. [Color Theme](#theme)
37-
10. [Key Bindings](#bindings)
38-
11. [Sponsoring](#sponsoring)
39-
12. [Inspiration](#inspiration)
35+
8. [FAQs](#faqs)
36+
9. [Diagnostics](#diagnostics)
37+
10. [Color Theme](#theme)
38+
11. [Key Bindings](#bindings)
39+
12. [Sponsoring](#sponsoring)
40+
13. [Inspiration](#inspiration)
4041

4142
## 1. <a name="features"></a> Features <small><sup>[Top ▲](#table-of-contents)</sup></small>
4243

@@ -181,7 +182,11 @@ works if `libgit2` builded with `-DENABLE_TRACE=ON`
181182

182183
this feature enabled by default, to disable: `cargo install --no-default-features`
183184

184-
## 8. <a name="diagnostics"></a> Diagnostics <small><sup>[Top ▲](#table-of-contents)</sup></small>
185+
## 8. <a name="faqs"></a> FAQs <small><sup>[Top ▲](#table-of-contents)</sup></small>
186+
187+
see [FAQs page](./FAQ.md)
188+
189+
## 9. <a name="diagnostics"></a> Diagnostics <small><sup>[Top ▲](#table-of-contents)</sup></small>
185190

186191
To run with logging enabled run `gitui -l`.
187192

@@ -192,23 +197,23 @@ This will log to:
192197
- Linux: `$HOME/.cache/gitui/gitui.log`
193198
- Windows: `%LOCALAPPDATA%/gitui/gitui.log`
194199

195-
## 9. <a name="theme"></a> Color Theme <small><sup>[Top ▲](#table-of-contents)</sup></small>
200+
## 10. <a name="theme"></a> Color Theme <small><sup>[Top ▲](#table-of-contents)</sup></small>
196201

197202
![](assets/light-theme.png)
198203

199204
`gitui` should automatically work on both light and dark terminal themes.
200205

201206
However, you can customize everything to your liking: See [Themes](THEMES.md).
202207

203-
## 10. <a name="bindings"></a> Key Bindings <small><sup>[Top ▲](#table-of-contents)</sup></small>
208+
## 11. <a name="bindings"></a> Key Bindings <small><sup>[Top ▲](#table-of-contents)</sup></small>
204209

205210
The key bindings can be customized: See [Key Config](KEY_CONFIG.md) on how to set them to `vim`-like bindings.
206211

207-
## 11. <a name="sponsoring"></a> Sponsoring <small><sup>[Top ▲](#table-of-contents)</sup></small>
212+
## 12. <a name="sponsoring"></a> Sponsoring <small><sup>[Top ▲](#table-of-contents)</sup></small>
208213

209214
[![github](https://img.shields.io/badge/-GitHub%20Sponsors-fafbfc?logo=GitHub%20Sponsors)](https://github.com/sponsors/extrawurst)
210215

211-
## 12. <a name="inspiration"></a> Inspiration <small><sup>[Top ▲](#table-of-contents)</sup></small>
216+
## 13. <a name="inspiration"></a> Inspiration <small><sup>[Top ▲](#table-of-contents)</sup></small>
212217

213218
- [lazygit](https://github.com/jesseduffield/lazygit)
214219
- [tig](https://github.com/jonas/tig)

assets/bad-credentials.png

125 KB
Loading

0 commit comments

Comments
 (0)