사용자 도구

사이트 도구


git

차이

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

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
다음 판 양쪽 다음 판
git [2018/05/17 09:31]
kwon37xi [Password in Windows]
git [2019/03/12 14:44]
kwon37xi [파일 chmod 변경 - 특히 실행(x) 권한]
줄 215: 줄 215:
 find . -type d -empty -exec touch {}/.gitkeep \; find . -type d -empty -exec touch {}/.gitkeep \;
 </code> </code>
 +
 +===== 파일 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 변경하기
 +  * ''git ls-files --stage'' 명령으로 파일 권한 확인. 보통 ''100644''로 돼 있음.
 +  * ''git update-index --chmod=+x 'name-of-shell-script''' : 권한에 ''x'' 추가
 +  * ''git ls-files --stage''로 다시 확인해보면 **100755**로 변경됨.
 +  * commit 한다.
 +
  
 ===== 문제 해결 ===== ===== 문제 해결 =====
줄 240: 줄 248:
   * [[https://github.com/pluralsight/git-internals-pdf|Git Internals]]   * [[https://github.com/pluralsight/git-internals-pdf|Git Internals]]
   * [[http://www-cs-students.stanford.edu/~blynn/gitmagic/|git magic]]   * [[http://www-cs-students.stanford.edu/~blynn/gitmagic/|git magic]]
 +  * [[https://www.cyberciti.biz/open-source/github-alternatives-open-source-seflt-hosted/|6 Github alternatives that is open source and self-hosted - nixCraft]]
 +  * [[https://johngrib.github.io/wiki/git-alias/|편리한 git alias 설정하기 - 기계인간 John Grib]]
git.txt · 마지막으로 수정됨: 2023/10/14 13:47 저자 kwon37xi