Download next.js/scripts/git-configure.mjs from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 228 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/next.js/scripts/git-configure.mjs
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/next.js/scripts/git-configure.mjs
-
curl -L -o git-configure.mjs https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/next.js/scripts/git-configure.mjs
228 Bytes
| import execa from 'execa' | |
| // See https://github.com/vercel/next.js/pull/47375 | |
| const { stdout, stderr } = await execa( | |
| 'git', | |
| ['config', 'index.skipHash', 'false'], | |
| { | |
| reject: false, | |
| } | |
| ) | |
| console.log(stderr + stdout) | |