Last active
June 25, 2019 06:35
-
-
Save Muzietto/46c9acc670e9953a1914b8231ae9a6f0 to your computer and use it in GitHub Desktop.
Sending git commands about history to a file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
for file in `find . -name "*.scss"`; do git log --stat --oneline --pretty=format:"%cd" $file >> pippo3.txt; echo '------' >> pippo3.txt; done | |
for file in `find . -type f -name "*.js" ! -name "*.stories.js"`; do git log --stat --oneline --pretty=format:"%cd" $file >> pippo4.txt; echo '------' >> pippo4.txt; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment