Gitの練習をするためのプロジェクト。
見ているよ❤
地球は青かった
ガガーリン
- あいうえお
- かきくけこ
以下のコマンドで実行可能です
./scripts/clean-spaces内部で実行しているコマンドの概要:
- インデントのみ存在する行から、インデントをなくす
find git-practice -type f -not -path '*/.*' \
-exec grep -lIEZ "^ +$" {} + | xargs -0 -r sed -Ei "s/^ +$//g"- 行末のスペースをなくす(mdファイルでは意味のある情報のため除外)
find git-practice -type f -not -path '*/.*' -not -name '*.md' \
-exec grep -lIEZ "^(.*[^ ]) +$" {} + | xargs -0 -r sed -Ei "s/^(.*[^ ]) +$/\1/g"