사용자 도구

사이트 도구


git

차이

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

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판 양쪽 다음 판
git [2019/06/26 19:08]
kwon37xi [파일 chmod 변경 - 특히 실행(x) 권한]
git [2019/06/26 19:09]
kwon37xi [파일 chmod 변경 - 특히 실행(x) 권한]
줄 232: 줄 232:
 ===== 파일 chmod 변경 - 특히 실행(x) 권한 ===== ===== 파일 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 변경하기
-  * ''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 ls-files --stage''로 다시 확인해보면 **100755**로 변경됨.+  * ''git ls-files %%--%%stage''로 다시 확인해보면 **100755**로 변경됨.
   * commit 한다.   * commit 한다.
  
git.txt · 마지막으로 수정됨: 2023/10/14 13:47 저자 kwon37xi