-
-
Save VeeeneX/da49682d8b165d1cd680fbc3991d13fc to your computer and use it in GitHub Desktop.
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
{ | |
"commit": "%H", | |
"abbreviated_commit": "%h", | |
"tree": "%T", | |
"abbreviated_tree": "%t", | |
"parent": "%P", | |
"abbreviated_parent": "%p", | |
"refs": "%D", | |
"encoding": "%e", | |
"subject": "%s", | |
"sanitized_subject_line": "%f", | |
"body": "%b", | |
"commit_notes": "%N", | |
"verification_flag": "%G?", | |
"signer": "%GS", | |
"signer_key": "%GK", | |
"author": { | |
"name": "%aN", | |
"email": "%aE", | |
"date": "%aD" | |
}, | |
"commiter": { | |
"name": "%cN", | |
"email": "%cE", | |
"date": "%cD" | |
} | |
} |
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
class Commit(object): | |
def __init__(self, commit): | |
self.commit = commit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment