mirror of
https://github.com/wfxr/forgit.git
synced 2026-09-10 07:16:23 -04:00
fix(docs): fix typos and broken markdown in README
- Fix typo: gitatrributes → gitattributes - Remove extra quote in fzf install link - Add missing spaces before parentheses in Tips section - Remove .git suffix from bat repository link
This commit is contained in:
parent
53da496336
commit
396b7edea4
2
LICENSE
2
LICENSE
|
|
@ -1,6 +1,6 @@
|
||||||
The MIT License (MIT)
|
The MIT License (MIT)
|
||||||
|
|
||||||
Copyright © 2017-2021 Wenxuan Zhang <wenxuangm@gmail.com>
|
Copyright © 2017-2026 Wenxuan Zhang <wenxuangm@gmail.com>
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the “Software”), to deal
|
of this software and associated documentation files (the “Software”), to deal
|
||||||
|
|
|
||||||
10
README.md
10
README.md
|
|
@ -33,7 +33,7 @@ It's **lightweight** and **easy to use**.
|
||||||
|
|
||||||
- [`fzf`](https://github.com/junegunn/fzf) version `0.49.0` or higher
|
- [`fzf`](https://github.com/junegunn/fzf) version `0.49.0` or higher
|
||||||
|
|
||||||
If your OS package manager bundles an older version of `fzf`, you might install it using [`fzf`'s own install script'](https://github.com/junegunn/fzf?tab=readme-ov-file#using-git).
|
If your OS package manager bundles an older version of `fzf`, you might install it using [`fzf`'s own install script](https://github.com/junegunn/fzf?tab=readme-ov-file#using-git).
|
||||||
|
|
||||||
## Shell package managers
|
## Shell package managers
|
||||||
|
|
||||||
|
|
@ -316,7 +316,7 @@ variables:
|
||||||
| pager on `git diff` | `FORGIT_DIFF_PAGER` | `git config pager.diff` _or_ `$FORGIT_PAGER` |
|
| pager on `git diff` | `FORGIT_DIFF_PAGER` | `git config pager.diff` _or_ `$FORGIT_PAGER` |
|
||||||
| pager on `git blame` | `FORGIT_BLAME_PAGER` | `git config pager.blame` _or_ `$FORGIT_PAGER` |
|
| pager on `git blame` | `FORGIT_BLAME_PAGER` | `git config pager.blame` _or_ `$FORGIT_PAGER` |
|
||||||
| pager on `gitignore` | `FORGIT_IGNORE_PAGER` | `bat -l gitignore --color always` _or_ `cat` |
|
| pager on `gitignore` | `FORGIT_IGNORE_PAGER` | `bat -l gitignore --color always` _or_ `cat` |
|
||||||
| pager on `gitatrributes` | `FORGIT_ATTRIBUTES_PAGER` | `bat -l gitattributes --color always` _or_ `cat` |
|
| pager on `gitattributes` | `FORGIT_ATTRIBUTES_PAGER` | `bat -l gitattributes --color always` _or_ `cat` |
|
||||||
| git log format | `FORGIT_GLO_FORMAT` | `%C(auto)%h%d %s %C(black)%C(bold)%cr%reset` |
|
| git log format | `FORGIT_GLO_FORMAT` | `%C(auto)%h%d %s %C(black)%C(bold)%cr%reset` |
|
||||||
|
|
||||||
## fzf options
|
## fzf options
|
||||||
|
|
@ -401,7 +401,7 @@ export FORGIT_LOG_FZF_OPTS='
|
||||||
|
|
||||||
- [`delta`](https://github.com/dandavison/delta) / [`diff-so-fancy`](https://github.com/so-fancy/diff-so-fancy): For better human-readable diffs.
|
- [`delta`](https://github.com/dandavison/delta) / [`diff-so-fancy`](https://github.com/so-fancy/diff-so-fancy): For better human-readable diffs.
|
||||||
|
|
||||||
- [`bat`](https://github.com/sharkdp/bat.git): Syntax highlighting for `gitignore` and `gitattributes`.
|
- [`bat`](https://github.com/sharkdp/bat): Syntax highlighting for `gitignore` and `gitattributes`.
|
||||||
|
|
||||||
- [`emoji-cli`](https://github.com/wfxr/emoji-cli): Emoji support for `git log`.
|
- [`emoji-cli`](https://github.com/wfxr/emoji-cli): Emoji support for `git log`.
|
||||||
|
|
||||||
|
|
@ -410,8 +410,8 @@ export FORGIT_LOG_FZF_OPTS='
|
||||||
# 💡 Tips
|
# 💡 Tips
|
||||||
|
|
||||||
- Most of the commands accept optional arguments (e.g., `glo develop`, `glo f738479..188a849b -- main.go`, `gco main`).
|
- Most of the commands accept optional arguments (e.g., `glo develop`, `glo f738479..188a849b -- main.go`, `gco main`).
|
||||||
- `gd` supports specifying revision(e.g., `gd HEAD~`, `gd v1.0 README.md`).
|
- `gd` supports specifying revision (e.g., `gd HEAD~`, `gd v1.0 README.md`).
|
||||||
- Call `gi` or `gat` with arguments to get the wanted `.gitignore`/`.gitattributes` contents directly(e.g., `gi cmake c++`).
|
- Call `gi` or `gat` with arguments to get the wanted `.gitignore`/`.gitattributes` contents directly (e.g., `gi cmake c++`).
|
||||||
|
|
||||||
# 📃 License
|
# 📃 License
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue