[Freemint-list] Where is my commit?

Helmut Karlowski helmut.karlowski at ish.de
Sat Jan 28 21:19:19 MSK 2017


Am 28.01.2017, 16:47 Uhr, schrieb Vincent Rivière:

> On 28/01/2017 à 15:12, Helmut Karlowski wrote:
>>> -F is the message file, not the file to commit
>>
>> The -F did what I intended.
>
> Your command line was:
> $git commit -F ~/commits/my-freemint/xaaes/src.km/example.cnf example.cnf
> [helmut-enhancements 6ce7a64] add description for standard_font_point
>    1 file changed, 7 insertions(+)
>
> It is really strange, I have never seen such thing. Anyway.
>
> Where does your commit message "add description for standard_font_point"
> comes from? I don't see it on the command line. The purpose of -F is  
> used to
> specify that message from the contents of an existing file.

And that file is: ~/commits/my-freemint/xaaes/src.km/example.cnf

When I committed to CVS I used a shell-script that fetches the  
descriptions from a file with the same name (or contains a list of files  
to commit at once).

I want to keep that practice with git.

> I didn't know that syntax. It is equivalent to:
> git add example.cnf
> git commit

So I can save one command by leaving the "add" out?

> For this last point, there is no mystery.
>
> NB: To see the documentation of "commit", use:
> git help commit
> This is exactly what I did to check your syntax.

Guess where had it from ;)

>>> git config --global user.name "Helmut Karlowski"
>>> git config --global user.email "helmut.karlowski at ish.de"
>>
>> Obviously I already had done that long ago, that's the reason for the
>> strange name in the log. How can I change only that name?
>
> git takes its default from somewhere (probably your /etc/passwd).

~/.gitconfig in this case.

>
> To change that information for your future commits, just execute the  
> above
> commands, once.

I edited the config-file. Should now be correct.

But my question was: how to change the contributer-name without  
reverting/re-pushing?
Otherwise I'll just leave it as it is.

-Helmut
--



More information about the Freemint-list mailing list