Skip to content

Commit 774899f

Browse files
authored
Note git's core.longpaths in CONTRIBUTING (microsoft#45069)
* Note git's core.longpaths in CONTRIBUTING So people will be able to clone the repo on Windows. However, I'm not sure whether this addresses running tests. * Address PR comments
1 parent 751c114 commit 774899f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CONTRIBUTING.md

+4
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ If you prefer to develop using containers, this repository includes a [developme
8181

8282
The TypeScript repository is relatively large. To save some time, you might want to clone it without the repo's full history using `git clone --depth=1`.
8383

84+
### Filename too long on Windows
85+
86+
You might need to run `git config --global core.longpaths true` before cloning TypeScript on Windows.
87+
8488
### Using local builds
8589

8690
Run `gulp` to build a version of the compiler/language service that reflects changes you've made. You can then run `node <repo-root>/built/local/tsc.js` in place of `tsc` in your project. For example, to run `tsc --watch` from within the root of the repository on a file called `test.ts`, you can run `node ./built/local/tsc.js --watch test.ts`.

0 commit comments

Comments
 (0)