LoginSignup
1
0

More than 5 years have passed since last update.

Git でパーミッションを保存する

Last updated at Posted at 2018-06-09

windows の git を利用していて push する際に linux のパーミションを設定したい。

commit 時にパーミションの変更をしない場合

git config core.filemode false

個別に設定したい場合

git update-index --add --chmod=+x hogehoge.sh

で指定する。

1
0
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
0