Skip to content

Instantly share code, notes, and snippets.

@RyujiAMANO
Created January 22, 2020 07:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RyujiAMANO/48b0d6d2ea074463b17f676a6e6cea3e to your computer and use it in GitHub Desktop.
Save RyujiAMANO/48b0d6d2ea074463b17f676a6e6cea3e to your computer and use it in GitHub Desktop.
NetCommons3/app/Plugin下の各リポジトリでgit config core.filemode falseする
#!/bin/sh
# cd NetCommons3/app/
# bash gitCoreFileModeFalse.sh で実行
#
dir_path="Plugin/*"
dirs=`find $dir_path -type d -maxdepth 0`
for dir in $dirs;
do
echo $dir
cd $dir
git config core.filemode false
cd ../../
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment