projects
/
sxmo-sms-ssh
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
remove default route
[sxmo-sms-ssh]
/
git-commit-date
1
#!/bin/sh -x
2
3
# preserve file timestamp in git date inside commit
4
# usage: git-commit-date path
5
6
git commit --date="$( ls --full-time $1 | awk '{ print $6" "$7 }' )" $1
7