From a8ab9f05dcf836b04d1db402e3e99864257f744d Mon Sep 17 00:00:00 2001 From: Muhammad Nauman Raza Date: Sat, 30 Mar 2024 09:59:35 +0000 Subject: [PATCH] hotfix: date shows properly in commits --- justfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/justfile b/justfile index fb46feb..8540df8 100644 --- a/justfile +++ b/justfile @@ -1,7 +1,9 @@ #!/usr/bin/env just --justfile +date := "$(date +'%Y-%m-%d %H:%M')" + # Backup documents backup: git add -A - git commit -m 'backup: $(date +"%Y-%m-%d")' + git commit -m "backup: {{date}}" git push