Display log after commit

This commit is contained in:
Zach Borboa
2022-09-23 16:15:01 -07:00
parent f25dbdd149
commit f41d7a40e3
+3
View File
@@ -190,6 +190,9 @@ def main():
print('diff after commit:')
print(local_repo.git.diff(color='always'))
print('log after commit:')
print(local_repo.git.log(n=1))
if __name__ == '__main__':
main()