Git: file “changed but not updated”

You have to use git add every time OR use git commit -a or git commit --all instead of plain git commit.

from Git docs:

-a
--all
  Tell the command to automatically stage files that have been modified
  and deleted, but new files you have not told git about are not affected.

add is basically the “take notice of this file/directory” command. Not CVS’s or subversion’s track changes to this file.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)