I have this git status:
User#/d/Work/Project/Module1/NV/build (master)$ git status
# On branch master
# Your branch is ahead of 'origin/master' by 3 commits.
# (use "git push" to publish your local commits)
#
# 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: ../../Module1/CMakeLists.txt
# modified: ../../Module1/Container.cpp
#
no changes added to commit (use "git add" and/or "git commit -a")
How can I add the 2 files? git add -A
doesn't work?
I know it's possible to use the option git add ../../.
for obvious reasons.
I know it's possible to add the files with a git add
option but i can't remember it and I don't find it. I use git version 1.8.1.msysgit.1
.