fatal: Not a git repository: /Users/Mathias/Projects/punycode.js/.git/modules/vendor/docdown -
i got "fatal: not git repository" when performing git add together node_modules, node module directory.
it looks 1 of modules triggers msg:
"/users/mathias/projects/punycode.js/.git/modules/vendor/docdown"
i searched "fatal: not git repository" on stackoverflow , tried "git init" approach. doesn't work in situation.
can help?
if have package.json file, create .gitignore file in root of repo line in it:
node_modules/ there's no need commit node_modules since else can run npm install , same dependencies.
git
No comments:
Post a Comment