aboutsummaryrefslogtreecommitdiff
path: root/bin/add-new.sh
blob: c82bc704c94a45292809c0b3f2e20b3767b3c2ae (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)"