git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
const { promises: fsPromises } = require('fs'); | |
const path = require('path'); | |
async function copyDirsWithout(source, destination, regex) { | |
const folderName = new RegExp(regex); | |
try { | |
console.log(`Copying from "${source}" to "${destination}"...`); | |
await fsPromises.cp(source, destination, { |
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
{ | |
"printWidth": 80, | |
"trailingComma": "es5", | |
"tabWidth": 2, | |
"useTabs": false, | |
"semi": true, | |
"singleQuote": true, | |
"jsxSingleQuote": false, | |
"bracketSpacing": true, | |
"jsxBracketSameLine": false, |
1 |
df |
Hh |
34234234 |
div slkjhflsflslfjlsdkjflksdjflk |
h |
hj |