Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 9 lines (9 sloc) 193 Bytes
#!/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"
You can’t perform that action at this time.