You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fpga-cruft/scripts/forksand-fpga-git-commits

14 lines
218 B

5 years ago
#!/bin/bash
cd ~/devel/FPGA
for i in `find . -name .git | sort`
do echo
cd ~/devel/FPGA
echo $i | sed -e 's/\.git$//g' | sed -e 's/^\.\///g'
cd `dirname $i`
git branch
git log | head -1 | cut -f 2 -d " "
done