Files
jpexs-decompiler/git_eol_normalization.sh
2016-09-18 23:46:59 +02:00

9 lines
193 B
Bash
Executable File

#!/bin/bash
set -e
git add . -u
git commit -m "Saving files before refreshing line endings"
git rm --cached -r .
git reset --hard
git add .
set +e
git commit -m "Normalize all the line endings"