# How to log a host (or a repository) of a commit?

3 messages from 2010-04-01 to 2010-04-07. Participants: Łukasz Stelmach, Junio C Hamano.
Thread: https://gitlist.dev/t/23288

## Łukasz Stelmach, 2010-04-01 18:18

Subject: How to log a host (or a repository) of a commit?
Message-ID: <87fx3fniiy.fsf@dasa3.iem.pw.edu.pl>
URL: https://gitlist.dev/e/87fx3fniiy.fsf%40dasa3.iem.pw.edu.pl

```
Hi.

Is there a way of logging (an retrieveing this information) where a
commit has been created and keeping it when merging/pulling/pushing? For
me It may be either a host or a repository.  The host would be slightly
better as I have some repositories on flash drives.

-- 
Best regards
Łukasz Stelmach

```

## Junio C Hamano, 2010-04-01 19:06

Subject: Re: How to log a host (or a repository) of a commit?
Message-ID: <7vk4srouuy.fsf@alter.siamese.dyndns.org>
URL: https://gitlist.dev/e/7vk4srouuy.fsf%40alter.siamese.dyndns.org
In-Reply-To: <87fx3fniiy.fsf@dasa3.iem.pw.edu.pl>

```
Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> writes:

> Is there a way of logging (an retrieveing this information) where a
> commit has been created and keeping it when merging/pulling/pushing?

For example, in

  http://article.gmane.org/gmane.comp.version-control.git/142549

Linus says:

    I used to find it convenient to see what machines I had worked on, so
    I actually included that.

Two observations to draw from this:

 - You could use committer identity for that.
 - Wonder why it is "used to"; perhaps it wasn't useful after all.

```

## Łukasz Stelmach, 2010-04-07 10:33

Subject: Re: How to log a host (or a repository) of a commit?
Message-ID: <87mxxfft64.fsf@dasa3.iem.pw.edu.pl>
URL: https://gitlist.dev/e/87mxxfft64.fsf%40dasa3.iem.pw.edu.pl
In-Reply-To: <7vk4srouuy.fsf@alter.siamese.dyndns.org>

```
Junio C Hamano <gitster@pobox.com> writes:

> Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> writes:
>> Is there a way of logging (an retrieveing this information) where a
>> commit has been created and keeping it when merging/pulling/pushing?
>   http://article.gmane.org/gmane.comp.version-control.git/142549
>
> Linus says:
>     I used to find it convenient to see what machines I had worked on>
> Two observations to draw from this:
>
>  - You could use committer identity for that.
>  - Wonder why it is "used to"; perhaps it wasn't useful after all.

I use git to keep track of my org-mode files on few different machines,
so I might have different needs, in this particular case, than software
developers ;)

-- 
Miłego dnia,
Łukasz Stelmach

```
