You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-18Lines changed: 18 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@
27
27
This tool is designed to help you use git more efficiently.
28
28
It's **lightweight** and **easy to use**.
29
29
30
-
###📥 Installation
30
+
# 📥 Installation
31
31
32
32
*Make sure you have [`fzf`](https://github.com/junegunn/fzf) installed.*
33
33
@@ -60,19 +60,19 @@ brew install forgit
60
60
# Clone the repository and source it in your shell's rc file or put bin/git-forgit into your $PATH
61
61
```
62
62
63
-
###Fig
63
+
# Fig
64
64
65
65
[Fig](https://fig.io) adds apps, shortcuts, and autocomplete to your existing terminal.
66
66
67
67
Install `forgit` in just one click.
68
68
69
69
[](https://fig.io/plugins/other/forgit)
70
70
71
-
###Arch User Repository
71
+
# Arch User Repository
72
72
73
73
[AUR](https://wiki.archlinux.org/title/Arch_User_Repository) packages, maintained by the developers of forgit, are available. Install the [forgit](https://aur.archlinux.org/packages/forgit) package for the latest release or [forgit-git](https://aur.archlinux.org/packages/forgit-git) to stay up to date with the latest commits from the master branch of this repository.
74
74
75
-
###📝 Features
75
+
# 📝 Features
76
76
77
77
-**Interactive `git add` selector** (`ga`)
78
78
@@ -118,7 +118,7 @@ Install `forgit` in just one click.
|`FORGIT_LOG_FORMAT`| git log format |`%C(auto)%h%d %s %C(black)%C(bold)%cr%Creset`|
317
317
|`FORGIT_PREVIEW_CONTEXT`| lines of diff context in preview mode | 3 |
318
318
|`FORGIT_FULLSCREEN_CONTEXT`| lines of diff context in fullscreen mode | 10 |
319
319
320
-
###📦 Optional dependencies
320
+
# 📦 Optional dependencies
321
321
322
322
-[`delta`](https://github.com/dandavison/delta) / [`diff-so-fancy`](https://github.com/so-fancy/diff-so-fancy): For better human readable diffs.
323
323
324
324
-[`bat`](https://github.com/sharkdp/bat.git): Syntax highlighting for `gitignore`.
325
325
326
326
-[`emoji-cli`](https://github.com/wfxr/emoji-cli): Emoji support for `git log`.
327
327
328
-
###Completions
328
+
# Completions
329
329
330
-
####Bash
330
+
## Bash
331
331
332
332
- Put [`completions/git-forgit.bash`](https://github.com/wfxr/forgit/blob/master/completions/git-forgit.bash) in
333
333
`~/.local/share/bash-completion/completions` to have bash tab completion for `git forgit` and configured git aliases.
334
334
- Source [`completions/git-forgit.bash`](https://github.com/wfxr/forgit/blob/master/completions/git-forgit.bash) explicitly to have
335
335
bash tab completion for forgit shell functions and aliases (e.g. `gcb <tab>` completes branches).
336
336
337
-
####Zsh
337
+
## Zsh
338
338
339
339
- Put [`completions/_git-forgit`](completions/_git-forgit) in a directory in your `$fpath` (e.g. `/usr/share/zsh/site-functions`) to have zsh tab completion for `git forgit` and configured git aliases.
340
340
- Source [`completions/git-forgit.zsh`](completions/git-forgit.zsh) to have zsh tab completion for forgit shell functions and aliases (e.g. `gcb <tab>` completes branches).
341
341
342
-
###💡 Tips
342
+
# 💡 Tips
343
343
344
344
- Most of the commands accept optional arguments (eg, `glo develop`, `glo f738479..188a849b -- main.go`, `gco master`).
0 commit comments