Changes between Version 4 and Version 5 of GitTricks


Ignore:
Timestamp:
Sep 24, 2010 10:19:45 AM (14 years ago)
Author:
faber
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GitTricks

    v4 v5  
    3232== Set file modifcation times to last commit ==
    3333
    34 Here's a little script to walk through {{{git log }}} output, find the commit times for each file and call {{{touch}}} on them.  Call it from the root of the checked out repository.  {{{git}}} and {{{touch}}} need to be in your path.  I was able to set times on the {{{abac}}} git repository by:
     34Here's a [attachment:git-touch.py little script] to walk through {{{git log }}} output, find the commit times for each file and call {{{touch}}} on them.  Call it from the root of the checked out repository.  {{{git}}} and {{{touch}}} need to be in your path.  I was able to set times on the {{{abac}}} git repository by:
    3535{{{
    3636$ cd abac