From: Markus Heller <hellerm2@gmail.com>
To: git@vger.kernel.org
Subject: Re: Run git from .bat file (Windows)
Date: Tue, 20 Jul 2010 11:44:00 -0700 [thread overview]
Message-ID: <0vtynungcv.fsf@gmail.com> (raw)
In-Reply-To: AANLkTik-Mk0pMKWHqzMXUcSzPexAQd2bTAPZF9Q2WKer@mail.gmail.com
Peter Harris <git@peter.is-a-geek.org> 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
prev parent reply other threads:[~2010-07-20 18:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-20 16:34 Run git from .bat file (Windows) Markus Heller
2010-07-20 17:34 ` Peter Harris
2010-07-20 18:44 ` Markus Heller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0vtynungcv.fsf@gmail.com \
--to=hellerm2@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.