|
9 | 9 |
|
10 | 10 | `gitw` - Git command wrapper, generate git changelog, fetch repo information and some git tools. |
11 | 11 |
|
12 | | -- Wrap local `git` commands |
13 | | -- Quickly run `git` commands |
14 | | -- Quickly query repository information |
| 12 | +- Wrap local `git` commands |
| 13 | +- Quickly run `git` commands |
| 14 | +- Quickly query repository information |
15 | 15 | - Quick fetch status, remote, branch ... details |
16 | | -- Quickly generate version changelogs via `git log` |
17 | | - - Allow custom build configuration |
18 | | - - Allow custom build filtering , styles, etc |
| 16 | +- Quickly generate version changelogs via `git log` |
| 17 | + - Allow custom build configuration |
| 18 | + - Allow custom build filtering , styles, etc |
19 | 19 | - can be used directly in GitHub Actions |
20 | 20 | - Support git-emoji code search and replace render |
21 | 21 |
|
22 | 22 | > **[中文说明](README.zh-CN.md)** |
23 | 23 |
|
24 | 24 | ## Install |
25 | 25 |
|
26 | | -> required: go 1.18+, git 2.x |
| 26 | +### Install by Eget(Recommended) |
| 27 | + |
| 28 | +> Install by [inherelab/eget](https://github.com/inherelab/eget) |
| 29 | +
|
| 30 | +```bash |
| 31 | +eget install gookit/gitw |
| 32 | +``` |
| 33 | + |
| 34 | +### Install by Go |
| 35 | + |
| 36 | +> required: go 1.22+, git 2.x |
27 | 37 |
|
28 | 38 | ```bash |
29 | 39 | go get github.com/gookit/gitw |
@@ -190,7 +200,7 @@ Example: |
190 | 200 | run: | |
191 | 201 | curl https://github.com/gookit/gitw/releases/latest/download/chlog-linux-amd64 -L -o /usr/local/bin/chlog |
192 | 202 | chmod a+x /usr/local/bin/chlog |
193 | | - chlog -c .github/changelog.yml -o changelog.md prev last |
| 203 | + chlog -c .github/changelog.yml -o changelog.md prev last |
194 | 204 |
|
195 | 205 | ``` |
196 | 206 |
|
|
0 commit comments