Re: [git-users] error changes not staged for commit (windows)

2012-11-26 Thread Vineet Naik
On linux, if I forget to use `git rm` to delete a file, I can remove the file from the index using `git add -u`. Note that it will also stage any other modifications to the exiting files in the working tree along with removing the deleted files from index. Regards, Vineet On Mon, Nov 26, 2012 a

Re: [git-users] error changes not staged for commit (windows)

2012-11-26 Thread William Mizuta
I really don't know if it was changed recently. I know that if you pass the option --all (or -A) to git add, you can delete files. Maybe it is the default option in Mac. William Seiti Mizuta @williammizuta Desenvolvedor da Caelum On Mon, Nov 26, 2012 at 12:46 PM, Douglas Deodato wrote: > hi w

Re: [git-users] error changes not staged for commit (windows)

2012-11-26 Thread Douglas Deodato
hi william that working, but i dont know because in mac doesn't matter if i delete but command line or no, if i am write add . git will add the file deleted or no and i will commit. something change in git these last monts, or that because i using windows? thanks. On 26 November 2012 14:39, W

Re: [git-users] error changes not staged for commit (windows)

2012-11-26 Thread William Mizuta
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 wrote: > Is it in your .gitignore file? > > Wes > > > On Mon, Nov 26, 2012 at 9:34 AM, git-guy wrote: > >> >> i had tried gi

Re: [git-users] error changes not staged for commit (windows)

2012-11-26 Thread Douglas Deodato
when i check gitk show me like that; Local uncommitted changes, not checked in to index On 26 November 2012 14:38, Douglas Deodato wrote: > no i have only that in git ignore: > target > .* > *.iml > *.log > > > On 26 November 2012 14:35, Wes Freeman wrote: > >> Is it in your .gitignore file

Re: [git-users] error changes not staged for commit (windows)

2012-11-26 Thread Douglas Deodato
no i have only that in git ignore: target .* *.iml *.log On 26 November 2012 14:35, Wes Freeman wrote: > Is it in your .gitignore file? > > Wes > > > On Mon, Nov 26, 2012 at 9:34 AM, git-guy wrote: > >> i had tried git add . >> >> >> git add path file >> >> but still no add the files, some h

Re: [git-users] error changes not staged for commit (windows)

2012-11-26 Thread Wes Freeman
Is it in your .gitignore file? Wes On Mon, Nov 26, 2012 at 9:34 AM, git-guy 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