Last active
March 1, 2016 11:19
-
-
Save advanceboy/ff4203352ffda2cd3308 to your computer and use it in GitHub Desktop.
PowerShell 使って git diff で タイムスタンプを コミット時間 (commiter date) に変更する
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git diff --name-only <commit> HEAD --diff-filter=CMART | gi | %{ $_.LastWriteTime = [datetime](git log --pretty=format:%ci --max-count=1 $_.FullName) } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment