15 git config core.autocrlf input
17 git for-each-ref 'refs/remotes/origin' | while read -r HASH TYPE REFNAME; do
19 refs/remotes/origin/HEAD)
23 git checkout -t "${REFNAME#refs/remotes/}" || git checkout "${REFNAME#refs/remotes/origin/}"
24 git reset --hard "$REFNAME"
25 echo "$attr" > ".gitattributes"
26 find . -type f -exec touch {} \+
27 git update-index --refresh
28 git add .gitattributes
29 git commit -a -m"CRLF fixes, .gitattributes file updated"
35 attr=`cat .gitattributes`
37 ./all each "$me" inner