Answers for "variable in commit"

0

variable in commit

# 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
Posted by: Guest on August-06-2021

Browse Popular Code Answers by Language