Created
September 1, 2022 22:57
-
-
Save derme302/5a8cb3bd512394e407ecb712950c1262 to your computer and use it in GitHub Desktop.
Sync a folder with Git and add a message with the timestamp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
git pull | |
git add --all | |
git commit -asm "`date +'%a %d %b %Y %H:%M:%S'`" | |
git push |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment