📅  最后修改于: 2022-03-11 14:56:35.799000             🧑  作者: Mango
# Using an environment variable:
$ export COMMIT_TITLE=$(date)
$ git add commitfile.txt
$ git commit -m "$COMMIT_TITLE"
[master b5a9354] Sun, May 10, 2020 9:38:12 AM
1 file changed, 1 insertion(+)
create mode 100644 commitfile.txt