aboutsummaryrefslogtreecommitdiff
path: root/bin/add-new.sh
blob: 2f7da1f48d30ff134c5337bacb16da51519fbfd2 (plain)
1
2
3
4
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)"