Last active
August 15, 2016 15:26
-
-
Save carlos22/73af182b32767ca932870d66c47f4475 to your computer and use it in GitHub Desktop.
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 | |
# https://github.com/dilshod/xlsx2csv | |
sudo pip install xlsx2csv | |
# config filter | |
echo -e '\n[diff "xlsx"]\n\ttextconv=xlsx2csv --all -d tab' >> ~/.gitconfig | |
# apply filter to current project | |
echo -e '\n*.xlsx diff=xlsx\n' >> $(git rev-parse --show-toplevel)/.git/info/attributes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment