Re: git commit -a -m is not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Thank you for your quick and precise support.

Can you share with me some best practices in deploying a web project?
I wave one remote repository, many local repositories (each/developer)
and a shared hosting server. What should I do to push quickly all
changes to my shared server?

Alex

2015-09-28 20:11 GMT+03:00 Jonathan Nieder <jrnieder@xxxxxxxxx>:
> Hi,
>
> brian m. carlson wrote:
>> On Sat, Sep 26, 2015 at 09:51:12PM +0300, Alex Radulescu wrote:
>
>>> Alex:testGit Alex$ git commit -a -m 'made a change'
>>>
>>> On branch v1.0
>>>
>>> Untracked files:
>>>
>>> new_branch.txt
>>>
>>> nothing added to commit but untracked files present
>>
>> git commit -a does not add untracked files.  Such files might be build
>> by-products or such and you haven't told Git to track them, so it
>> doesn't.
>
> You can run "git add -N <files>" to tell Git to start caring about
> some new files (e.g., "git add -N ." to track them all).
>
> Alternatively, you can run "git add <files>" to tell Git that the
> current content of those files is ready for commit (e.g., "git add ."
> before "git status" and "git commit" to commit everything).
>
> More details are at http://jk.gs/gittutorial.html#_making_changes
> (also available by running "git help tutorial").
>
> Thanks and hope that helps,
> Jonathan
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]