Skip to content

Instantly share code, notes, and snippets.

@m77so
Last active January 29, 2019 07:20
Show Gist options
  • Save m77so/22b7d31c78ea7ac9c808ff5f2d451b09 to your computer and use it in GitHub Desktop.
Save m77so/22b7d31c78ea7ac9c808ff5f2d451b09 to your computer and use it in GitHub Desktop.
少し使いやすくする Tを除去
#!/bin/bash
TM=$(mktemp -d)
git log --pretty=format:"%cd" --date=format:'%Y/%m/%d %H:%M:%S' $1 > $TM/gittime
git log --pretty=format:"%H" $1 | xargs -n 1 -I {} git ls-tree -r -l {} $1 |awk '{print $4}' > $TM/gitlstree
paste $TM/gittime $TM/gitlstree
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment