Skip to content

Instantly share code, notes, and snippets.

@Itope84
Created July 31, 2018 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Itope84/ef30176099a5a71782286cd6c577561c to your computer and use it in GitHub Desktop.
Save Itope84/ef30176099a5a71782286cd6c577561c to your computer and use it in GitHub Desktop.
#!/bin/sh
cd c:/xampp/htdocs/demoproject
git add --all
timestamp() {
date +"at %H:%M:%S on %d/%m/%Y"
}
git commit -am "Regular auto-commit $(timestamp)"
git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment