Return to Snippet

Revision: 45435
at April 30, 2011 05:31 by ferro


Initial Code
#!/bin/bash
rm -rf /tmp/gitlist.text

for f in $(echo -e "`git status | awk -F" " '{printf "%s\n", $3}' | tail -n+6 | head -n-7`"); do
	git diff $f >> /tmp/gitlist.text
	echo >> /tmp/gitlist.text
done

less /tmp/gitlist.text

Initial URL


Initial Description


Initial Title
Show git repository diff of all files

Initial Tags
git

Initial Language
Bash