5 lines
244 B
Bash
5 lines
244 B
Bash
#!/usr/bin/env bash
|
|
# Current timestamp for git commit messages (SQL format).
|
|
# Exists because the exec safety guard false-positives on `date '+...%H:%M:%S'`
|
|
# (the %H:%M:%S colons match the Windows drive-letter regex).
|
|
date +%F_%T | tr '_' ' ' |