/ Published in: Bash

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
#!/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
Comments
