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)"