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
<douglasdeod...@gmail.com>wrote:

> 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, William Mizuta <william.miz...@gmail.com>wrote:
>
>> 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 <freeman....@gmail.com>wrote:
>>
>>> Is it in your .gitignore file?
>>>
>>> Wes
>>>
>>>
>>> On Mon, Nov 26, 2012 at 9:34 AM, git-guy <douglasdeod...@gmail.com>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")
>>>>
>>>>  --
>>>>
>>>>
>>>>
>>>
>>>  --
>>>
>>>
>>>
>>
>>  --
>>
>>
>>
>
>
>
> --
> Cheers!
> Douglas Deodato |  douglasdeodato.com
> Portfolio: http://bit.ly/fyXHnw
> “Choose a job you love, and you will never have to work a day in your
> life.”
> Confucios(504 B.C.)
>
>  --
>
>
>

-- 


Reply via email to