#!/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)"