add new chinese translations
This commit is contained in:
13
pages.zh/common/git-root.md
Normal file
13
pages.zh/common/git-root.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# git 根目录
|
||||
|
||||
> 打印当前 Git 仓库的根目录。
|
||||
> 这是 `git-extras` 的一部分。
|
||||
> 更多信息: <https://github.com/tj/git-extras/blob/master/Commands.md#git-root>。
|
||||
|
||||
- 打印当前 Git 仓库的绝对路径:
|
||||
|
||||
`git root`
|
||||
|
||||
- 打印当前工作目录相对于当前 Git 仓库根目录的路径:
|
||||
|
||||
`git root --relative`
|
Reference in New Issue
Block a user