Re: [git-users] `$ git commit --fixup=xxx -e` doesn't open editor anymore

2021-08-16 Thread Konstantin Khomoutov
On Mon, Aug 16, 2021 at 12:49:02AM -0700, Sergey Solovyev wrote:

> OK, we found the regression 
> point 
> https://github.com/git/git/commit/494d314a0526a8bee9f8af7a6e6b74b66043c9fa
> and my co-worker is making a fix for that.

That's cool!
You can then search [1] to see whether it was reported and if not,
post the patch directly to git at vger.kernel.org list.

 1. https://public-inbox.org/git/

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/20210816085254.5mtfrjxu2oei5zoe%40carbon.


Re: [git-users] `$ git commit --fixup=xxx -e` doesn't open editor anymore

2021-08-16 Thread Sergey Solovyev
OK, we found the regression 
point https://github.com/git/git/commit/494d314a0526a8bee9f8af7a6e6b74b66043c9fa
and my co-worker is making a fix for that.

On Sunday, August 15, 2021 at 2:32:39 PM UTC+2 Konstantin Khomoutov wrote:

> On Wed, Aug 11, 2021 at 03:05:09AM -0700, Sergey Solovyev wrote:
>
> > Previously `$ git commit --fixup=xxx -e` would open an editor before 
> > committing the change. It should still be the case according to the 
> command 
> > documentation:
> > * -e, --edit*
> > * The message taken from file with -F, command line with -m, and 
> > from commit object with -C are usually used*
> > * as the commit log message unmodified. This option lets you 
> > further edit the message taken from these*
> > * sources.*
> > *But it doesn't.*
> > Am I doing something wrong or is it a regression in *git*?
> > *$ git config --list *
> > *...*
> > *core.editor=nano*
> > *... *
> > *$ git --version*
> > *git version 2.32.0*
>
> This mailing list is for discussing problems mere mortals have with Git,
> so I'm not sure there is anyone who'll be ready to test (just because I'm 
> not
> sure there are enough folks using freshly released Git versions).
>
> Please ask on git at vger.kernel.org (but make sure your mail message is 
> plain
> text, or at least is not composed solely of text/html parts).
>
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/b3f899f5-baeb-4145-83df-64fbf9fed19bn%40googlegroups.com.


Re: [git-users] `$ git commit --fixup=xxx -e` doesn't open editor anymore

2021-08-15 Thread Konstantin Khomoutov
On Wed, Aug 11, 2021 at 03:05:09AM -0700, Sergey Solovyev wrote:

> Previously `$ git commit --fixup=xxx -e` would open an editor before 
> committing the change. It should still be the case according to the command 
> documentation:
> *   -e, --edit*
> *   The message taken from file with -F, command line with -m, and 
> from commit object with -C are usually used*
> *   as the commit log message unmodified. This option lets you 
> further edit the message taken from these*
> *   sources.*
> *But it doesn't.*
> Am I doing something wrong or is it a regression in *git*?
> *$ git config --list *
> *...*
> *core.editor=nano*
> *... *
> *$ git --version*
> *git version 2.32.0*

This mailing list is for discussing problems mere mortals have with Git,
so I'm not sure there is anyone who'll be ready to test (just because I'm not
sure there are enough folks using freshly released Git versions).

Please ask on git at vger.kernel.org (but make sure your mail message is plain
text, or at least is not composed solely of text/html parts).

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/20210815123233.ckntfqsuwyfek4n2%40carbon.


Re: [git-users] git commit message template plugin

2019-12-20 Thread Tim Schofield
>From the comments at the beginning of the prepare-commit-msg.sample script:

# An example hook script to prepare the commit log message.
# Called by "git commit" with the name of the file that has the
# commit message, followed by the description of the commit
# message's source.  The hook's purpose is to edit the commit
# message file.

So basically the first argument passed to the hook is the name of the
file which will contain the commit message. By getting your hook
script to amend the contents of that file, you will amend the commit
message. There are many examples of the use of this script that you
can find by Googling.

Thanks
Tim

On Thu, 19 Dec 2019 at 22:11, Python Prog  wrote:
>
> i am aware of that hook ,prepare-commit-msg hook runs in the background on a 
> "git commit" and does some checks,I am looking for a UI to pop-up (via 
> plugin) on git commit so that user can the requested commit message fields 
> which can then be saved as a commit message,anyone know how this can be 
> achieved?
>
> On Thursday, December 19, 2019 at 1:01:06 AM UTC-8, Tim Schofield wrote:
>>
>> I think it is the prepare-commit-msg hook that you require.
>>
>> Thanks
>> Tim
>>
>> On Thu, 19 Dec 2019 at 00:31, Python Prog  wrote:
>> >
>> > @Philip - I looked at https://githooks.com/  before but not clear if these 
>> > will provide the functionality am looking for,I am looking for something 
>> > like a UI popup ,may be after a "git commit" event where folks can enter 
>> > the commit message info.All these hooks seems like they run in the 
>> > background and not something i am looking for ,I am looking for guidance 
>> > on how this can be done?
>> >
>> > On Wednesday, December 18, 2019 at 3:55:45 PM UTC-8, Philip Oakley wrote:
>> >>
>> >> Look up the 'hooks' which are scripts that are run on various events
>> >> happening, such as a commit, etc.
>> >>
>> >> I believe there will be a suitable hook that can be set.
>> >>
>> >> Philip
>> >>
>> >> On 18/12/2019 23:42, Python Prog wrote:
>> >> > Hello
>> >> >
>> >> > I am looking to develop a commit message plugin where developers
>> >> > working on committing changes has an easy way to enter all the
>> >> > required info using the plugin and it gets saved as commit message?has
>> >> > anyone done something like this before?how do I get started ?
>> >> >
>> >>
>> > --
>> > You received this message because you are subscribed to the Google Groups 
>> > "Git for human beings" group.
>> > To unsubscribe from this group and stop receiving emails from it, send an 
>> > email to git-...@googlegroups.com.
>> > To view this discussion on the web visit 
>> > https://groups.google.com/d/msgid/git-users/fe340fee-132b-4201-b3c0-33b1cc38c631%40googlegroups.com.
>>
>>
>>
>> --
>> Course View Towers,
>> Plot 21 Yusuf Lule Road,
>> Kampala
>> T   +256 (0) 312 314 418
>> M +256 (0) 752 963 325
>> www.kwamoja.org
>> Twitter: @TimSchofield2
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Git for human beings" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to git-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/git-users/e2856a16-4378-465a-8ada-8255eee551cc%40googlegroups.com.



-- 
Course View Towers,
Plot 21 Yusuf Lule Road,
Kampala
T   +256 (0) 312 314 418
M +256 (0) 752 963 325
www.weberpafrica.com
Twitter: @TimSchofield2

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/CABsfisiJkKe%3D1CRO_F2TiNQUru-Md3c6VVzX1rmL%2BobNb5pgVw%40mail.gmail.com.


Re: [git-users] git commit message template plugin

2019-12-19 Thread Python Prog
i am aware of that hook ,prepare-commit-msg hook runs in the background on 
a "git commit" and does some checks,I am looking for a UI to pop-up (via 
plugin) on git commit so that user can the requested commit message fields 
which can then be saved as a commit message,anyone know how this can be 
achieved?

On Thursday, December 19, 2019 at 1:01:06 AM UTC-8, Tim Schofield wrote:
>
> I think it is the prepare-commit-msg hook that you require. 
>
> Thanks 
> Tim 
>
> On Thu, 19 Dec 2019 at 00:31, Python Prog  > wrote: 
> > 
> > @Philip - I looked at https://githooks.com/  before but not clear if 
> these will provide the functionality am looking for,I am looking for 
> something like a UI popup ,may be after a "git commit" event where folks 
> can enter the commit message info.All these hooks seems like they run in 
> the background and not something i am looking for ,I am looking for 
> guidance on how this can be done? 
> > 
> > On Wednesday, December 18, 2019 at 3:55:45 PM UTC-8, Philip Oakley 
> wrote: 
> >> 
> >> Look up the 'hooks' which are scripts that are run on various events 
> >> happening, such as a commit, etc. 
> >> 
> >> I believe there will be a suitable hook that can be set. 
> >> 
> >> Philip 
> >> 
> >> On 18/12/2019 23:42, Python Prog wrote: 
> >> > Hello 
> >> > 
> >> > I am looking to develop a commit message plugin where developers 
> >> > working on committing changes has an easy way to enter all the 
> >> > required info using the plugin and it gets saved as commit 
> message?has 
> >> > anyone done something like this before?how do I get started ? 
> >> > 
> >> 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups "Git for human beings" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to git-...@googlegroups.com . 
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/git-users/fe340fee-132b-4201-b3c0-33b1cc38c631%40googlegroups.com.
>  
>
>
>
>
> -- 
> Course View Towers, 
> Plot 21 Yusuf Lule Road, 
> Kampala 
> T   +256 (0) 312 314 418 
> M +256 (0) 752 963 325 
> www.kwamoja.org 
> Twitter: @TimSchofield2 
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/e2856a16-4378-465a-8ada-8255eee551cc%40googlegroups.com.


Re: [git-users] git commit message template plugin

2019-12-19 Thread Tim Schofield
I think it is the prepare-commit-msg hook that you require.

Thanks
Tim

On Thu, 19 Dec 2019 at 00:31, Python Prog  wrote:
>
> @Philip - I looked at https://githooks.com/  before but not clear if these 
> will provide the functionality am looking for,I am looking for something like 
> a UI popup ,may be after a "git commit" event where folks can enter the 
> commit message info.All these hooks seems like they run in the background and 
> not something i am looking for ,I am looking for guidance on how this can be 
> done?
>
> On Wednesday, December 18, 2019 at 3:55:45 PM UTC-8, Philip Oakley wrote:
>>
>> Look up the 'hooks' which are scripts that are run on various events
>> happening, such as a commit, etc.
>>
>> I believe there will be a suitable hook that can be set.
>>
>> Philip
>>
>> On 18/12/2019 23:42, Python Prog wrote:
>> > Hello
>> >
>> > I am looking to develop a commit message plugin where developers
>> > working on committing changes has an easy way to enter all the
>> > required info using the plugin and it gets saved as commit message?has
>> > anyone done something like this before?how do I get started ?
>> >
>>
> --
> You received this message because you are subscribed to the Google Groups 
> "Git for human beings" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to git-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/git-users/fe340fee-132b-4201-b3c0-33b1cc38c631%40googlegroups.com.



-- 
Course View Towers,
Plot 21 Yusuf Lule Road,
Kampala
T   +256 (0) 312 314 418
M +256 (0) 752 963 325
www.kwamoja.org
Twitter: @TimSchofield2

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/CABsfish6ytB1MYOAjmsLjWxmRinqMpcttSDBVNV%3DPn8E6BqY4A%40mail.gmail.com.


Re: [git-users] git commit message template plugin

2019-12-18 Thread Python Prog
@Philip - I looked at https://githooks.com/  before but not clear if these 
will provide the functionality am looking for,I am looking for something 
like a UI popup ,may be after a "git commit" event where folks can enter 
the commit message info.All these hooks seems like they run in the 
background and not something i am looking for ,I am looking for guidance on 
how this can be done?

On Wednesday, December 18, 2019 at 3:55:45 PM UTC-8, Philip Oakley wrote:
>
> Look up the 'hooks' which are scripts that are run on various events 
> happening, such as a commit, etc. 
>
> I believe there will be a suitable hook that can be set. 
>
> Philip 
>
> On 18/12/2019 23:42, Python Prog wrote: 
> > Hello 
> > 
> > I am looking to develop a commit message plugin where developers 
> > working on committing changes has an easy way to enter all the 
> > required info using the plugin and it gets saved as commit message?has 
> > anyone done something like this before?how do I get started ? 
> > 
>
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/fe340fee-132b-4201-b3c0-33b1cc38c631%40googlegroups.com.


Re: [git-users] git commit message template plugin

2019-12-18 Thread Philip Oakley
Look up the 'hooks' which are scripts that are run on various events
happening, such as a commit, etc.

I believe there will be a suitable hook that can be set.

Philip

On 18/12/2019 23:42, Python Prog wrote:
> Hello
>
> I am looking to develop a commit message plugin where developers
> working on committing changes has an easy way to enter all the
> required info using the plugin and it gets saved as commit message?has
> anyone done something like this before?how do I get started ?
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/1b9a0ea5-2a5a-ce70-3b96-01654784514d%40iee.email.


Re: [git-users] Git commit

2017-02-01 Thread Boubakary Wadjiri Mohammadou
I did not use the git commit -m properly. The message i wrote after -m was
not valid

On Thu, Feb 2, 2017 at 12:41 AM, Gergely Polonkai <gerg...@polonkai.eu>
wrote:

> That’s great! Would you tell us, and especially people who visit the
> archives later, what the problem was?
>
> On Wed, Feb 1, 2017, 23:29 Boubakary Wadjiri Mohammadou <bwmr...@gmail.com>
> wrote:
>
>> Thanks i have arranged the problem.
>>
>> On Wed, Feb 1, 2017 at 10:28 PM, Philip Oakley <philipoak...@iee.org>
>> wrote:
>>
>> Boubakary,
>> Is your 'commit' command an alias?
>>
>> Philip
>>
>> - Original Message -
>> *From:* Gergely Polonkai <gerg...@polonkai.eu>
>> *To:* Git for human beings <git-users@googlegroups.com>
>> *Sent:* Wednesday, February 01, 2017 8:46 PM
>> *Subject:* Re: [git-users] Git commit
>>
>> My guess is, you provide a commit message that contains an exclamation
>> mark, and you don’t quote it. The error message is giwen by bash, not git.
>> So instead of
>>
>> git commit -m Message!
>>
>> try
>>
>> git commit -m "Message!"
>>
>> (You will need the quotes anyway if your commit message contains multiple
>> words.)
>>
>> If I’m wrong, could you show us what exact command did you use? Without
>> that, it’s hard to answer your question.
>>
>> Best,
>> Gergely
>>
>> On Wed, Feb 1, 2017, 16:23 Boubakary Wadjiri Mohammadou <
>> bwmr...@gmail.com> wrote:
>>
>> Hello guys i have difficulties in using the git commit command. Whenever
>> i commit i receive this message "bash: !: event not found"
>>
>> I am using a Windows 10 OS. Need Help. Thanks
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Git for human beings" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to git-users+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Git for human beings" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to git-users+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Git for human beings" group.
>> To unsubscribe from this topic, visit https://groups.google.com/d/
>> topic/git-users/9MeRUaAN9Mo/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> git-users+unsubscr...@googlegroups.com.
>>
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Git for human beings" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to git-users+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Git for human beings" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/git-users/9MeRUaAN9Mo/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> git-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [git-users] Git commit

2017-02-01 Thread Gergely Polonkai
That’s great! Would you tell us, and especially people who visit the
archives later, what the problem was?

On Wed, Feb 1, 2017, 23:29 Boubakary Wadjiri Mohammadou <bwmr...@gmail.com>
wrote:

> Thanks i have arranged the problem.
>
> On Wed, Feb 1, 2017 at 10:28 PM, Philip Oakley <philipoak...@iee.org>
> wrote:
>
> Boubakary,
> Is your 'commit' command an alias?
>
> Philip
>
> - Original Message -
> *From:* Gergely Polonkai <gerg...@polonkai.eu>
> *To:* Git for human beings <git-users@googlegroups.com>
> *Sent:* Wednesday, February 01, 2017 8:46 PM
> *Subject:* Re: [git-users] Git commit
>
> My guess is, you provide a commit message that contains an exclamation
> mark, and you don’t quote it. The error message is giwen by bash, not git.
> So instead of
>
> git commit -m Message!
>
> try
>
> git commit -m "Message!"
>
> (You will need the quotes anyway if your commit message contains multiple
> words.)
>
> If I’m wrong, could you show us what exact command did you use? Without
> that, it’s hard to answer your question.
>
> Best,
> Gergely
>
> On Wed, Feb 1, 2017, 16:23 Boubakary Wadjiri Mohammadou <bwmr...@gmail.com>
> wrote:
>
> Hello guys i have difficulties in using the git commit command. Whenever i
> commit i receive this message "bash: !: event not found"
>
> I am using a Windows 10 OS. Need Help. Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Git for human beings" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to git-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Git for human beings" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to git-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Git for human beings" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/git-users/9MeRUaAN9Mo/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> git-users+unsubscr...@googlegroups.com.
>
>
> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Git for human beings" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to git-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [git-users] Git commit

2017-02-01 Thread Boubakary Wadjiri Mohammadou
Thanks i have arranged the problem.

On Wed, Feb 1, 2017 at 10:28 PM, Philip Oakley <philipoak...@iee.org> wrote:

> Boubakary,
> Is your 'commit' command an alias?
>
> Philip
>
> - Original Message -
> *From:* Gergely Polonkai <gerg...@polonkai.eu>
> *To:* Git for human beings <git-users@googlegroups.com>
> *Sent:* Wednesday, February 01, 2017 8:46 PM
> *Subject:* Re: [git-users] Git commit
>
> My guess is, you provide a commit message that contains an exclamation
> mark, and you don’t quote it. The error message is giwen by bash, not git.
> So instead of
>
> git commit -m Message!
>
> try
>
> git commit -m "Message!"
>
> (You will need the quotes anyway if your commit message contains multiple
> words.)
>
> If I’m wrong, could you show us what exact command did you use? Without
> that, it’s hard to answer your question.
>
> Best,
> Gergely
>
> On Wed, Feb 1, 2017, 16:23 Boubakary Wadjiri Mohammadou <bwmr...@gmail.com>
> wrote:
>
>> Hello guys i have difficulties in using the git commit command. Whenever
>> i commit i receive this message "bash: !: event not found"
>>
>> I am using a Windows 10 OS. Need Help. Thanks
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Git for human beings" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to git-users+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Git for human beings" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to git-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Git for human beings" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/git-users/9MeRUaAN9Mo/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> git-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [git-users] Git commit

2017-02-01 Thread Philip Oakley
Boubakary,
Is your 'commit' command an alias? 

Philip
  - Original Message - 
  From: Gergely Polonkai 
  To: Git for human beings 
  Sent: Wednesday, February 01, 2017 8:46 PM
  Subject: Re: [git-users] Git commit


  My guess is, you provide a commit message that contains an exclamation mark, 
and you don’t quote it. The error message is giwen by bash, not git. So instead 
of

  git commit -m Message!

  try

  git commit -m "Message!"

  (You will need the quotes anyway if your commit message contains multiple 
words.)

  If I’m wrong, could you show us what exact command did you use? Without that, 
it’s hard to answer your question.

  Best,
  Gergely



  On Wed, Feb 1, 2017, 16:23 Boubakary Wadjiri Mohammadou <bwmr...@gmail.com> 
wrote:

Hello guys i have difficulties in using the git commit command. Whenever i 
commit i receive this message "bash: !: event not found"


I am using a Windows 10 OS. Need Help. Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Git for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an 
email to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


  -- 
  You received this message because you are subscribed to the Google Groups 
"Git for human beings" group.
  To unsubscribe from this group and stop receiving emails from it, send an 
email to git-users+unsubscr...@googlegroups.com.
  For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [git-users] git commit , git review, want to submit a patch not a new commit

2015-10-13 Thread Magnus Therning
On Tue, Oct 13, 2015 at 02:11:30AM -0700, nmh wrote:
> I cloned a git repository.
> I made some changes. I could see changes in git diff all okay.
> I did git commit -a and git review.
> 
> I got one commit id and could see my patch submitted in gerrit.
> 
> 
> 
> Now git status in my local directory says
> git status
> On branch bug/1777879
> nothing to commit, working directory clean
> 
> Now i worked on review comments made some changes to few files.
> 
> git status shows newly changed files.
> 
> I want that the patch i am going to submit should show the files from prev 
> commit and the
> changed files from this commit.
> 
> e.g a,b,c,d (Files in commit 1)
> d -> d' (in review rework)
> 
> i want my patch to consist of - a, b,c,d'
> 
> 
> so I did 
> 
> git commit --amend this time (Purpose is to submit a patch to earlier 
> commit- is it right to do it this way ?)
> git review 
> 
> 
> is this right ?
> 

This is a mailing list for git users... I'm sure there are quite a few
gerrit users here too, but if I were you I'd post this on some gerrit
mailing list instead. I suspect you'll have more luck with getting good
answers there.

/M

-- 
Magnus Therning  OpenPGP: 0xAB4DFBA4 
email: mag...@therning.org   jabber: mag...@therning.org
twitter: magthe   http://therning.org/magnus

As far as the laws of mathematics refer to reality, they are not
certain, and as far as they are certain, they do not refer to reality.
 -- Albert Einstein

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: [git-users] Git commit was done twice and then git review - does not work

2015-09-29 Thread Konstantin Khomoutov
On Tue, 29 Sep 2015 05:31:07 -0700 (PDT)
nmh  wrote:

> I cloned a git repository, made some changes.. i did git commit ..
> forund that changes are not complete , made some more changes
> to the same files, and now i did git commit again.
> Now i did git review to submit my changes for review..
> 
> Git gives message that there are 2 commits ..
> I want to revert the previous commit ..
> I tried to revert .. it did not allow me to revert  previous commit.
> I had to revert this commit and then previous .. 
> in this process.. i made a mess by using suggested git rm 
> too ..
> 
> Good i took a backup of my changes.
> 
> What should i do to go back to that stage, where i see my changes in
> git diff
> and am able to do git commit and git review cleanly.

You wanted to make a single commit out of the two last commits.
That's the task for `git rebase`:

1) Run

 git rebase -i HEAD~2

   and you will be presented with a text editor containing the so-called
   "rebase script" containing your last two commits with the action
   "pick" for each of them.

   The "HEAD~2" revision specification means "two commits past the
   current HEAD -- run `git help revisions` to read the manual page
   on this.

2) Change the action of the second commit to "squash" or "fixup",
   save the changes and exit.

3) The rebasing process will continue, replacing your two commits with
   a single one containing the changes of both.

Read [1] for more info.
Please note that you're really urged to read this whole book before
embarking on carrying out serious tasks with Git.
As you can see, trying out random commands without having "a big picture"
in your head rarely helps, and when it does, it does so by pure luck.

1. http://git-scm.com/book/en/v2/Git-Tools-Rewriting-History#Squashing-Commits

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [git-users] git commit -a ... I changed my mind

2014-05-22 Thread Magnus Therning
On Thu, May 22, 2014 at 4:23 PM, Valerio Pachera siri...@gmail.com wrote:
 Hi, I'm a git beginner.
 I have a github account.
 I created an empty repository and cloned it on my laptop.
 I added 2 files then

 git add file1 file2
 git commit -s
 git push

 Everything is fine.
 I made changed to the readme.md, file1 and file2.

 What I wish now is to commit *only* the changes I made to file1.
 The problem is that I run 'git commit -a' before.
 I tried to

 git rm --cached -r .
 git add file1
 git commit --amend

 but I get the message
  4 files changed, 9 insertions(+), 918 deletions(-)

 It seems more that it tries to remove the files I've been un-tracking .

 I'm probably reasoning the wrong way.

 What do you suggest to do?

If you have `git commit -a` on changes and then change your mind about
what you did, then first realise that not all is lost!  What you want
is to rewrite history.  You should read about `git rebase -i`
carefully, ideally in more than one place and then proceed with
caution.  A good place to start with rebasing is
http://git-scm.com/book/en/Git-Branching-Rebasing

In this particular case though.  Since you have so little history to
deal with, it might just be easier to start over on a new repo
instead.  It depends on the nature of the changes you made...

/M

-- 
Magnus Therning  OpenPGP: 0xAB4DFBA4
email: mag...@therning.org   jabber: mag...@therning.org
twitter: magthe   http://therning.org/magnus

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [git-users] Git commit comment

2013-11-18 Thread Konstantin Khomoutov
On Mon, 18 Nov 2013 07:44:45 +0100
Nicolas Dermine nicolas.derm...@gmail.com wrote:

  I have done git pull. and again ran the below command.
  But still it wasn't show the comment on the commit. (on Github box
 provided below each commit)
  Through github i able to see it.
 
  git log --since=2013-11-14T12:00:00 --until=today --decorate=full
  --stat
 --branches=* --remotes=* --date=local --source
 
 I think github commit comments are stored in their data store, not in
 the repo.

That was my thought, too.
But Github provides some REST API to query this sort of information.
Supposedly one could write a tool to fetch this data into a local
repository (in a form of Git notes or whatever?).

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [git-users] Git commit comment

2013-11-17 Thread nanna
I have done git pull. and again ran the below command.
But still it wasn't show the comment on the commit. (on Github box provided 
below each commit)
Through github i able to see it.

git log --since=2013-11-14T12:00:00 --until=today --decorate=full --stat 
--branches=* --remotes=* --date=local --source


On Saturday, November 16, 2013 12:25:08 AM UTC+5:30, Gergely Polonkai wrote:

 My first guess is that you haven't updated your local repository from 
 GitHub. Have you issued git pull before viewing your local log?


 On 15 November 2013 11:28, nanna nanna...@gmail.com javascript: wrote:

 Hi

 I would like to list out the commit comment given on github from command 
 line.

 Is it possible to do that?

 I can able to see the comment on particular commit “review done” in 
 github. 

 But if i browse through git log from cmd, i couldn’t do.


  -- 
 You received this message because you are subscribed to the Google Groups 
 Git for human beings group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to git-users+...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [git-users] Git commit comment

2013-11-17 Thread Nicolas Dermine
On 18 Nov 2013 07:20, nanna nanna.ku...@gmail.com wrote:

 I have done git pull. and again ran the below command.
 But still it wasn't show the comment on the commit. (on Github box
provided below each commit)
 Through github i able to see it.

 git log --since=2013-11-14T12:00:00 --until=today --decorate=full --stat
--branches=* --remotes=* --date=local --source


Hi,

I think github commit comments are stored in their data store, not in the
repo.

nico



 On Saturday, November 16, 2013 12:25:08 AM UTC+5:30, Gergely Polonkai
wrote:

 My first guess is that you haven't updated your local repository from
GitHub. Have you issued git pull before viewing your local log?


 On 15 November 2013 11:28, nanna nanna...@gmail.com wrote:

 Hi

 I would like to list out the commit comment given on github from
command line.

 Is it possible to do that?

 I can able to see the comment on particular commit “review done” in
github.

 But if i browse through git log from cmd, i couldn’t do.


 --
 You received this message because you are subscribed to the Google
Groups Git for human beings group.
 To unsubscribe from this group and stop receiving emails from it, send
an email to git-users+...@googlegroups.com.

 For more options, visit https://groups.google.com/groups/opt_out.


 --
 You received this message because you are subscribed to the Google Groups
Git for human beings group.
 To unsubscribe from this group and stop receiving emails from it, send an
email to git-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [git-users] Git commit comment

2013-11-15 Thread Gergely Polonkai
My first guess is that you haven't updated your local repository from
GitHub. Have you issued git pull before viewing your local log?


On 15 November 2013 11:28, nanna nanna.ku...@gmail.com wrote:

 Hi

 I would like to list out the commit comment given on github from command
 line.

 Is it possible to do that?

 I can able to see the comment on particular commit “review done” in
 github.

 But if i browse through git log from cmd, i couldn’t do.


  --
 You received this message because you are subscribed to the Google Groups
 Git for human beings group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to git-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [git-users] git commit not doing anything

2010-08-30 Thread iñigo medina
Hi David,

did you try with git commit -a?

iñ
 I have some staged files:


 [dor...@localhost VTK-GraphColors]$ git status
 # On branch VTK-GraphColors
 # Changes to be committed:
 # (use git reset HEAD file... to unstage)
 #
 # modified: Infovis/vtkApplyColors.cxx
 # modified: Infovis/vtkApplyColors.h
 # modified: Views/vtkRenderedGraphRepresentation.cxx
 # modified: Views/vtkRenderedGraphRepresentation.h

 but when I try to commit:

 [dor...@localhost VTK-GraphColors]$ git commit -m ENH: allow
 passthrough coloring

 nothing happens. There are no errors, it simply doesn't commit the
 files. Any clues?

 Thanks,

 David

 --
 You received this message because you are subscribed to the Google Groups
Git for human beings group.
 To post to this group, send email to git-us...@googlegroups.com.
 To unsubscribe from this group, send email to
git-users+unsubscr...@googlegroups.comgit-users%2bunsubscr...@googlegroups.com
.
 For more options, visit this group at
http://groups.google.com/group/git-users?hl=en.


-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To post to this group, send email to git-us...@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.