Files
jpexs-decompiler/git_eol_normalization.sh
2020-07-24 12:33:06 +02:00

10 lines
202 B
Bash
Executable File

#!/usr/bin/env 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"