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
if [[ -n $(git ls-files --other --exclude-standard) ]]; | |
then | |
echo "commit aborted, there are untracked files!" | |
exit 1 | |
else | |
exit 0 | |
fi |
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
puts header_strings.split(" | ").map { |word| "-" * word.size }.join " | " |
OlderNewer