diff options
Diffstat (limited to 'bin/add-new.sh')
-rw-r--r-- | bin/add-new.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/add-new.sh b/bin/add-new.sh new file mode 100644 index 0000000..2f7da1f --- /dev/null +++ b/bin/add-new.sh @@ -0,0 +1,5 @@ +#!/bin/bash +export NEWS_FILE=$(date +%Y%m%d_%H%M%S)" +vi $NEWS_FILE +git add $NEWS_FILE +git commit -m "$(head -n 1 $NEWS_FILE)" |