File tree Expand file tree Collapse file tree 2 files changed +45
-0
lines changed
Expand file tree Collapse file tree 2 files changed +45
-0
lines changed Original file line number Diff line number Diff line change 8080git clone https://github.com/nolebase/nolebase
8181```
8282
83+ #### 使用的是 Windows 吗
84+
85+ > [ !IMPORTANT]
86+ > 如果你使用的是 [ Git for Windows] ( https://gitforwindows.org/ ) ,那么可能会在执行上述命令时,遇到类似这样的报错:
87+ >
88+ > ``` PowerShell
89+ > PS D:\> git clone https://github.com/nolebase/nolebase
90+ > ...
91+ > error: invalid path 'x: xxx.md'
92+ > fatal: unable to checkout working tree
93+ > warning: Clone succeeded, but checkout failed.
94+ > You can inspect what was checked out with 'git status'
95+ > and retry with 'git restore --source=HEAD :/'
96+ > ```
97+ >
98+ > 这是 [Git for Windows](https://gitforwindows.org/) 的默认配置导致的[问题](https://github.com/git-for-windows/git/issues/2777)。
99+ >
100+ > 你可以在命令行窗口中输入下面的命令来解决这个问题:
101+ > ```PowerShell
102+ > git config --global core.protectNTFS false
103+ > ```
104+
83105### 如何使用、运行或者部署
84106
85107完成了下载了吗?很好,恭喜你已经完成了很艰难的一步!
Original file line number Diff line number Diff line change 6060git clone https://github.com/nolebase/nolebase
6161```
6262
63+ #### 使用的是 Windows 吗
64+
65+ > [ !IMPORTANT]
66+ > 如果你使用的是 [ Git for Windows] ( https://gitforwindows.org/ ) ,那么可能会在执行上述命令时,遇到类似这样的报错:
67+ >
68+ > ``` PowerShell
69+ > PS D:\> git clone https://github.com/nolebase/nolebase
70+ > ...
71+ > error: invalid path 'x: xxx.md'
72+ > fatal: unable to checkout working tree
73+ > warning: Clone succeeded, but checkout failed.
74+ > You can inspect what was checked out with 'git status'
75+ > and retry with 'git restore --source=HEAD :/'
76+ > ```
77+ >
78+ > 这是 [Git for Windows](https://gitforwindows.org/) 的默认配置导致的[问题](https://github.com/git-for-windows/git/issues/2777)。
79+ >
80+ > 你可以在命令行窗口中输入下面的命令来解决这个问题:
81+ > ```PowerShell
82+ > git config --global core.protectNTFS false
83+ > ```
84+
85+
6386### 如何使用、运行或者部署
6487
6588完成了下载了吗?很好,恭喜你已经完成了很艰难的一步!
You can’t perform that action at this time.
0 commit comments