У меня есть следующие каталоги projectdir>subdir>subsubdir
и .git
папка внутри projectdir
Когда я делаю git add .
из subsubdir
, изменения внутри projectdir
не добавляются в 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
Так как я могу добавить изменения до projectdir