Skip to content

Instantly share code, notes, and snippets.

@hunterloftis
Last active December 28, 2015 09:19
Show Gist options
  • Save hunterloftis/7477611 to your computer and use it in GitHub Desktop.
Save hunterloftis/7477611 to your computer and use it in GitHub Desktop.
node_modules
bower_components/
!bower_components/jquery/jquery.js
!bower_components/pixi/bin/pixi.js
# why does this not allow me to include jquery.js or pixi.js?
# On branch rigid-bodies
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: .gitignore
#
# Ignored files:
# (use "git add -f <file>..." to include in what will be committed)
#
# .DS_Store
# bower_components/
# examples/.DS_Store
# examples/boxes/.DS_Store
# examples/particles/.DS_Store
# node_modules/
# src/.DS_Store
no changes added to commit (use "git add" and/or "git commit -a")
$ git add bower_components/jquery/jquery.js
The following paths are ignored by one of your .gitignore files:
bower_components
Use -f if you really want to add them.
fatal: no files added
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment