Я создаю несколько новых файлов и пытаюсь добавить их, но когда я использую git add applications/libraries/calendarclass.php
, он не узнает, что у меня есть файл
Я только что создал этот файл в textmate и смотрю на него. Как добавить его в git?
releventz$ git add application/libraries/calendarclass.php
fatal: pathspec 'application/libraries/calendarclass.php' did not match any files
releventz$ ls
application css index.php license.txt
authnet images js system
releventz$ cd application
application$ ls
cache controllers errors hooks language logs third_party
config core helpers index.html libraries models views
application$ cd libraries
libraries$ ls
MY_Unit_test.php index.html loginclass.php
libraries$ git branch
* master
libraries$ git add calendarclass.php
fatal: pathspec 'application/libraries/calendarclass.php' did not match any files
Когда я использую git status
libraries$ git status
# On branch master
# Your branch is ahead of 'origin/master' by 2 commits.
#
nothing to commit (working directory clean)