-
Notifications
You must be signed in to change notification settings - Fork 354
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Chinese translation of manual (#594)
* Translate fossil.md * Update translation of 2 files * Update translation of usage.md * Update tricky_cases.md
- Loading branch information
Showing
6 changed files
with
142 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Fossil | ||
|
||
[Fossil](https://fossil-scm.org/) 通过为当前存储库 [设置`diff-command`](https://fossil-scm.org/home/help?cmd=diff-command) 来支持外部 `diff` 命令: | ||
|
||
``` | ||
fossil settings diff-command difft | ||
``` | ||
|
||
如果你想对所有存储库使用 Difftastic,可以使用 `--global`: | ||
|
||
``` | ||
fossil settings diff-command --global difft | ||
``` | ||
|
||
## 在 Fossil 上跳过 Difftastic | ||
|
||
如果你已经将 Difftastic 设置为 Fossil 的 `diff` 命令,但想使用一次 Fossil 的内置差异分析工具,可以使用 `-i` 暂时跳过一次 Difftastic: | ||
|
||
``` | ||
fossil diff -i | ||
``` | ||
|
||
如果你想从某个存储库(或全局)移除 Difftastic,请使用 `unset` 命令: | ||
|
||
``` | ||
fossil unset diff-command | ||
``` | ||
|
||
`unset` 命令支持 `--global` 选项。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.