LoginSignup
1
1

More than 5 years have passed since last update.

git bashでディレクトリごと実行権限を付与する

Last updated at Posted at 2018-11-29

動作環境

  • git bash

Windowsローカルではchmodがないのでgit update-indexでファイルに実行権限を付与する

git update-index --add --chmod=+x path/to/file  

ディレクトリ一括で付与したい

findを使う

find path/to/directory -type f -exec git update-index --add --chmod=+x {} \;  
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1