If you want to delete a file, use git rm instead of git add.
William Seiti Mizuta @williammizuta Desenvolvedor da Caelum On Mon, Nov 26, 2012 at 12:35 PM, Wes Freeman <[email protected]> wrote: > Is it in your .gitignore file? > > Wes > > > On Mon, Nov 26, 2012 at 9:34 AM, git-guy <[email protected]> wrote: > >> >> i had tried git add . >> >> >> >> git add path file >> >> but still no add the files, some help what happening? should add with git >> add . but i dont know what happening >> >> >> #git status >> # On branch master >> #Your branch is ahead of 'origin/master' by 1 commit >> >> >> >> # 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) >> # >> # deleted: templates/file.txt >> # deleted: templates/test.jsp >> # >> no changes added to commit (use "git add" and/or "git commit -a") >> >> -- >> >> >> > > -- > > > --
