From 396b7edea4030c6a0ba3d8c4e748584d17d093cd Mon Sep 17 00:00:00 2001 From: Wenxuan Zhang Date: Sat, 7 Mar 2026 11:43:55 +0800 Subject: [PATCH] fix(docs): fix typos and broken markdown in README MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- LICENSE | 2 +- README.md | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/LICENSE b/LICENSE index e508978..ab428e2 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright © 2017-2021 Wenxuan Zhang +Copyright © 2017-2026 Wenxuan Zhang Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal diff --git a/README.md b/README.md index f888f0b..3a5a078 100644 --- a/README.md +++ b/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 - 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 @@ -316,7 +316,7 @@ variables: | 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 `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` | ## 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. -- [`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`. @@ -410,8 +410,8 @@ export FORGIT_LOG_FZF_OPTS=' # 💡 Tips - 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`). -- Call `gi` or `gat` with arguments to get the wanted `.gitignore`/`.gitattributes` contents directly(e.g., `gi cmake c++`). +- `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++`). # 📃 License