cssify icon indicating copy to clipboard operation
cssify copied to clipboard

fatal: Not a git repository: /Users/Mathias/Projects/punycode.js/.git/modules/ve ndor/docdown

Open pford68 opened this issue 11 years ago • 3 comments

After updating cssify (while updating browserify). I am getting this error when I try to add cssify to GIT.

Yes, I add node_modules to GIT. No, I don't want to stop doing it at this time. :)

pford68 avatar Nov 06 '14 11:11 pford68

Strange... I'll see if I can reproduce.

davidguttman avatar Nov 06 '14 14:11 davidguttman

Anything in particular I need to do? I tried the following, but didn't get any errors:

mkdir cssify-git
npm init
npm i -S browserify cssify
git init
git add .
git commit -m "test"

davidguttman avatar Nov 06 '14 14:11 davidguttman

My steps were as follows.

  1. First I updated browserify: npm update --save-dev browserify.. I don't remember the previous and current versions: I am not at that computer at the moment.
  2. Later I attempted to add all new files to GIT: git add -A.
  3. I ran git status and saw that I still had untracked files in browserify, cssify and brfs. And the error shown above appeared.
  4. I added each directory one at a time until I narrowed the problem down to cssify.

Googling indicates that an author of one of cssify's dependencies (punycode) accidentally checked in something he shouldn't have. I was hoping that you had an update with an update for that dependency. :)

pford68 avatar Nov 06 '14 16:11 pford68