사용자 도구

사이트 도구


git

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판 양쪽 다음 판
git [2019/06/26 19:09]
kwon37xi [파일 chmod 변경 - 특히 실행(x) 권한]
git [2019/06/26 19:21]
kwon37xi [파일 chmod 변경 - 특히 실행(x) 권한]
줄 230: 줄 230:
 </code> </code>
  
-===== 파일 chmod 변경 - 특히 실행(x) 권한 =====+===== Windows 등에서 파일 chmod 변경 - 특히 실행(x) 권한 =====
   * [[https://medium.com/@akash1233/change-file-permissions-when-working-with-git-repos-on-windows-ea22e34d5cee|Change file permissions when working with git repo’s on windows]] 윈도우에 파일 mod 변경하기   * [[https://medium.com/@akash1233/change-file-permissions-when-working-with-git-repos-on-windows-ea22e34d5cee|Change file permissions when working with git repo’s on windows]] 윈도우에 파일 mod 변경하기
 +  * 아래는 Linux/*nix 계열에서는 불필요하고 작동하지도 않았다. 그냥 ''chmod'' 명령을 직접사용하면됨.
   * ''git ls-files %%--%%stage'' 명령으로 파일 권한 확인. 보통 ''100644''로 돼 있음.   * ''git ls-files %%--%%stage'' 명령으로 파일 권한 확인. 보통 ''100644''로 돼 있음.
   * ''git update-index %%--chmod=+x%% 'name-of-shell-script''' : 권한에 ''x'' 추가   * ''git update-index %%--chmod=+x%% 'name-of-shell-script''' : 권한에 ''x'' 추가
git.txt · 마지막으로 수정됨: 2023/10/14 13:47 저자 kwon37xi