Skip to content

Instantly share code, notes, and snippets.

@cowwabanga
Last active February 21, 2024 08:09
Show Gist options
  • Save cowwabanga/21b16bd226930b34733e66706fcf7a80 to your computer and use it in GitHub Desktop.
Save cowwabanga/21b16bd226930b34733e66706fcf7a80 to your computer and use it in GitHub Desktop.
Commit all files in working directory and place date and time in commit message.
@ECHO OFF
set timestamp=%DATE% %TIME%
git pull
git status
git add .
git commit -am "Updated on : %timestamp%"
git push
echo Created new "%timestamp%" commit
git status
PAUSE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment