Commit dates when migrating repos to github

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Commit dates when migrating repos to github

Ben Coman
Just a quick note sharing something I learnt recently. 

When migrating MCZ repos to git, set the commit-date of the first empty commit back past the first MCZ date.

After the MCZs have been exported, check the commit-date matches the author date.
$ git log --format=fuller  

or otherwise force it so...
git filter-branch --env-filter 'export GIT_COMMITTER_DATE="$GIT_AUTHOR_DATE"'

cheers -ben
Reply | Threaded
Open this post in threaded view
|

Re: Commit dates when migrating repos to github

nacho
do you know of some resources, tutorial or documentaton I can read to learn
how to use Iceberg?
I'm completely lost.
thanks
Nacho





-----
Nacho
Smalltalker apprentice.
Buenos Aires, Argentina.
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Nacho Smalltalker apprentice. Buenos Aires, Argentina.
Reply | Threaded
Open this post in threaded view
|

Re: Commit dates when migrating repos to github

Pharo Smalltalk Users mailing list


On Wed, 21 Nov 2018 at 22:22, nacho <[hidden email]> wrote:
do you know of some resources, tutorial or documentaton I can read to learn
how to use Iceberg?
I'm completely lost.
thanks
Nacho

How familiar are you already with git?

This seems to be the most recent video...

Notes from the main repo...

cheers -ben

Reply | Threaded
Open this post in threaded view
|

Re: Commit dates when migrating repos to github

Alistair Grant
On Wed, 21 Nov 2018 at 16:31, Ben Coman via Pharo-users
<[hidden email]> wrote:

>
>
>
> On Wed, 21 Nov 2018 at 22:22, nacho <[hidden email]> wrote:
>>
>> do you know of some resources, tutorial or documentaton I can read to learn
>> how to use Iceberg?
>> I'm completely lost.
>> thanks
>> Nacho
>
>
> How familiar are you already with git?
>
> This seems to be the most recent video...
> https://www.youtube.com/watch?v=PK2yCu2rWCc
>
> Notes from the main repo...
> https://github.com/pharo-vcs/iceberg/tree/master/docs

Slides, rather than a video, but a bit more recent:

https://www.slideshare.net/esug/contributing-to-pharo-18


Cheers,
Alistair

Reply | Threaded
Open this post in threaded view
|

Re: Commit dates when migrating repos to github

nacho
Thanks!
This will be very useful.
cheers
nacho




-----
Nacho
Smalltalker apprentice.
Buenos Aires, Argentina.
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Nacho Smalltalker apprentice. Buenos Aires, Argentina.