What the title says has always worked for me, however suddenly my modified files are not being added anymore, why?
git status
On branch master
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: ../../core/src/com/pixelscientists/galaxy/bullet/ContactHandler.java
modified: ../../core/src/com/pixelscientists/galaxy/bullet/MyContactListener.java
modified: ../../core/src/com/pixelscientists/galaxy/bullet/handler/ExplorableAreaVsPlayerHandler.java
modified: ../../core/src/com/pixelscientists/galaxy/bullet/handler/LazerShotVsAsteroidHandler.java
modified: ../../core/src/com/pixelscientists/galaxy/bullet/handler/PlayerVsPickupHandler.java
modified: ../../core/src/com/pixelscientists/galaxy/entity/impl/Asteroid.java
Untracked files:
(use "git add <file>..." to include in what will be committed)
textures/earth/
textures/europa2_out.jpg
textures/fog.jpg
textures/fog.png
textures/jupiter-transparent.png
textures/jupiter.jpg
textures/laser.png
no changes added to commit (use "git add" and/or "git commit -a")
git add -u
git status
On branch master
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: ../../core/src/com/pixelscientists/galaxy/bullet/ContactHandler.java
modified: ../../core/src/com/pixelscientists/galaxy/bullet/MyContactListener.java
modified: ../../core/src/com/pixelscientists/galaxy/bullet/handler/ExplorableAreaVsPlayerHandler.java
modified: ../../core/src/com/pixelscientists/galaxy/bullet/handler/LazerShotVsAsteroidHandler.java
modified: ../../core/src/com/pixelscientists/galaxy/bullet/handler/PlayerVsPickupHandler.java
modified: ../../core/src/com/pixelscientists/galaxy/entity/impl/Asteroid.java
Untracked files:
(use "git add <file>..." to include in what will be committed)
textures/earth/
textures/europa2_out.jpg
textures/fog.jpg
textures/fog.png
textures/jupiter-transparent.png
textures/jupiter.jpg
textures/laser.png
no changes added to commit (use "git add" and/or "git commit -a")
Does anyone know what might cause this behaviour? As I said, I've done it like this several times before to avoid the big textures images being added. Even a git add *
adds only the textures, but not my modified source files. How is that possible?