Created
May 21, 2013 06:06
-
-
Save shoyan/5617763 to your computer and use it in GitHub Desktop.
その日の成果をコミットログとして取得する ref: http://qiita.com/items/4f355fa2482b6354de8d
This file contains hidden or 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
function seika { | |
local URL="$(git remote -v | head -n 1 | sed -e 's|.*git@\(.*\):\(.*\)\.git.*|https://\1/\2|g')"; git log --pretty="%s \n $URL/commit/%H" --author="$(git config --get user.name)" --since=1.days | sed 's/\\n/\ | |
/g' | |
} |
This file contains hidden or 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
$ seika |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment