6
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

git > 日時付きのログを1行で取得する > git log --pretty=format:'%h %ad %s' --date=iso

Last updated at Posted at 2015-12-25
動作確認
CentOS 6.5

git logを1行、日時付きで取得したい。

参考1. SO
参考2. http://qiita.com/harukasan/items/9149542584385e8dea75

以下で取得できた。

git log --pretty=format:'%h %ad %s' --date=iso
結果
7e64dc5 2015-12-09 12:40:08 +0900 update version comment
c37b62c 2015-12-09 12:39:18 +0900 add LF if str does not have
57c205a 2015-12-09 07:11:53 +0900 comrelay() takes \r also as new line
7c78970 2015-12-05 09:39:19 +0900 show concrete error message
591b8c3 2015-12-05 09:34:00 +0900 avoid udp send error when the network is not a
290838a 2015-12-03 12:33:31 +0900 add x access mode to Log/
7981543 2015-12-03 07:15:59 +0900 WIP
d72cea4 2015-12-03 07:12:48 +0900 utilLogger: chmod Log/ also
7a31ed1 2015-12-03 07:07:48 +0900 utilLogger: add S_IWGRP also
b07925f 2015-12-03 06:58:56 +0900 utilLogger: chmod of the file to make other wr
10e8ace 2015-12-03 06:56:42 +0900 change access mode
de4975e 2015-12-02 21:45:28 +0900 show os.uname
1adab1f 2015-12-02 07:15:03 +0900 add todo
d254200 2015-12-02 07:10:40 +0900 add todo
bfed68f 2015-12-02 07:06:01 +0900 utilLogger: add msec to the timestamp
82c8252 2015-12-02 06:59:07 +0900 Merge branch 'master' of https://github.com/ya
2abdcab 2015-12-02 06:58:49 +0900 get current msec
c0851be 2015-12-02 06:54:33 +0900 change prefix string from 1: to rcvd1, for csv
d77d3cd 2015-12-01 21:40:16 +0900 add Log feature
892f97b 2015-12-01 21:39:34 +0900 remove CRLF at the end of the line
153ce73 2015-12-01 21:22:31 +0900 update version comment
abfb757 2015-12-01 21:20:36 +0900 ignore Log/
3846eee 2015-12-01 21:20:12 +0900 save to Log/ Folder
6
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?