사용자 도구

사이트 도구


git

차이

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

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
다음 판 양쪽 다음 판
git [2019/03/12 14:44]
kwon37xi
git [2019/06/08 17:10]
kwon37xi [Bash Prompt]
줄 162: 줄 162:
   * [[linux:powerline|Powerline]] 사용시 bash 테마를 ''default_leftonly''로 지정하면 아래 과정이 불필요하다.   * [[linux:powerline|Powerline]] 사용시 bash 테마를 ''default_leftonly''로 지정하면 아래 과정이 불필요하다.
   * [[http://code-worrier.com/blog/git-branch-in-bash-prompt/|Bash 프롬프트에 Git Branch 이름 보여주기]]<code sh>   * [[http://code-worrier.com/blog/git-branch-in-bash-prompt/|Bash 프롬프트에 Git Branch 이름 보여주기]]<code sh>
 +mkdir -p ~/.local/bin
 curl https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh -o ~/.local/bin/git-prompt.sh curl https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh -o ~/.local/bin/git-prompt.sh
  
줄 217: 줄 218:
  
 ===== 파일 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]]+  * [[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.txt · 마지막으로 수정됨: 2023/10/14 13:47 저자 kwon37xi