I have the following directories projectdir>subdir>subsubdir
and .git
folder inside projectdir
When i do git add .
from subsubdir
the changes inside projectdir
are not added to Changes to be committed:
$ git status
On branch master
Your branch is up to date with 'basicdjango/master'.
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
modified: ../../.gitignore
new file: .env.example
modified: settings.py
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
So how can i add changes till the projectdir