зеркало из https://github.com/github/docs.git
Update CONTRIBUTING.md
This commit is contained in:
Родитель
e716fe9ed4
Коммит
6f9161af45
|
@ -95,5 +95,5 @@ This site can be developed on Windows, however a few potential gotchas need to b
|
|||
2. Paths: Windows systems use `\` for the path separator, which would be returned by `path.join` and others. You could use `path.posix`, `path.posix.join` etc and the [slash](https://ghub.io/slash) module, if you need forward slashes - like for constructing URLs - or ensure your code works with either.
|
||||
3. Bash: Not every Windows developer has a terminal that fully supports Bash, so it's generally preferred to write [scripts](/script) in JavaScript instead of Bash.
|
||||
4. Filename too long error: There is a 260 character limit for a filename when Git is compiled with `msys`. While the suggestions below are not guaranteed to work and could possibly cause other issues, a few workarounds include:
|
||||
- Use a different Git client on Windows
|
||||
- Update Git configuration: `git config --system core.longpaths true`
|
||||
- Update Git configuration: `git config --system core.longpaths true`
|
||||
- Consider using a different Git client on Windows
|
||||
|
|
Загрузка…
Ссылка в новой задаче