Re: Run git from .bat file (Windows)

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

 



Peter Harris <git@xxxxxxxxxxxxxxxxxxx> writes:

> On Tue, Jul 20, 2010 at 12:34 PM, Markus Heller wrote:
>> git add .
>> git commit -a -m "Automated commit by org-git-sync.bat on %fvar%"
>
>> The line "git add ." works, as I can see the additions when I type "git
>> status" after executing the script.  Committing doesn't work, however:
>> "git log" shows that no commit was created.
>>
>> Any idea what's going on?
>
> git itself is wrapped by a batch file on Windows. You need to "call" it. eg:
>
> call git add .
> call git commit ...

Ah, I wasn't aware of this!!

Thanks for your reply, works as advertised!!

Cheers
Markus

--
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]