Skip to content

Instantly share code, notes, and snippets.

@viccherubini
Created August 2, 2010 15:21
Show Gist options
  • Select an option

  • Save viccherubini/504805 to your computer and use it in GitHub Desktop.

Select an option

Save viccherubini/504805 to your computer and use it in GitHub Desktop.
#!/bin/bash
cd ~/daily-log
echo `date` >> daily-log.txt
echo $1 >> daily-log.txt
echo "================================================================================" >> daily-log.txt
git ci -am "New log entry."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment