Skip to content

Commit

Permalink
docs: add diff betn cz and czg faq (close #49)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhengqbbb committed Jul 15, 2022
1 parent e8380dd commit e2b402d
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs-zh/faq/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,10 @@ sitemap:

- 终端无法Emoji符号,大概率是因为你的终端对于 emoji/unicode 字符支持较差,但是不影响提交
因为最终输出提交的是 Emoji Code,可以考虑更换终端与[字体](https://github.com/ryanoasis/nerd-fonts)

## `cz-git``czg` 有什么不同

> 可以查看更多信息 [czg 的动机](/cli/why.html)
- 如果你使用 `cz``git cz` 命令将会启动 `commitizen` CLI ==+== `cz-git` 适配器
- 如果你使用 `czg` 命令只会启动 `czg` CLI
11 changes: 11 additions & 0 deletions docs/faq/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,27 @@ sitemap:
# FAQ

## Windows users use

- Windows users are advised not to use powershell, cmd for command line use
- because they are not based on the POSIX SHELL specification, i.e. not a standard terminal environment
- It is recommended not to use gitbash, because the terminal is not an interactive terminal, and the selection up and down will be effected
- **It is recommended to use Windows Terminal combined with WSL, you should also do the same in daily development and use**

## Cannot find command after global install

- Enter the command `npm prefix -g` to check whether the path of npm global download is in the root directory
- The high probability is because the global download path prefix of npm has been changed with nvm
- You can open .zshrc or .bashrc to comment out the loading nvm, and then reopen the terminal to check

## Terminal cannot display Emoji symbols

- The terminal cannot Emoji symbols, the high probability is because your terminal has poor support for emoji/unicode characters, but it does not affect the submission
Because the final output is submitted by Emoji Code, you can consider changing the terminal and [font](https://github.com/ryanoasis/nerd-fonts)

## What is different between `cz-git` and `czg`

> See more [Why czg](/cli/why.html)
- If you using `cz` or `git cz` command will start `commitizen` CLI ==+== `cz-git` adapter
- If you using `czg` command will only start `czg` CLI

7 changes: 7 additions & 0 deletions docs/zh/faq/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,10 @@ sitemap:

- 终端无法Emoji符号,大概率是因为你的终端对于 emoji/unicode 字符支持较差,但是不影响提交
因为最终输出提交的是 Emoji Code,可以考虑更换终端与[字体](https://github.com/ryanoasis/nerd-fonts)

## `cz-git``czg` 有什么不同

> 可以查看更多信息 [czg 的动机](/zh/cli/why.html)
- 如果你使用 `cz``git cz` 命令将会启动 `commitizen` CLI ==+== `cz-git` 适配器
- 如果你使用 `czg` 命令只会启动 `czg` CLI

0 comments on commit e2b402d

Please sign in to comment.