본문 바로가기

git3

[Git] git delta의 모든것 1. git delta란? 2. git delta 설치방법 3. git delta 설정법git diff시 양쪽으로 나눠서 보고 가시성을 좋게 한 설정[pager] diff = delta[delta] features = decorations line-numbers = true navigate = true side-by-side = true syntax-theme = Monokai Extended keep-plus-minus-markers = true wrap-max-lines = unlimited plus-style = "syntax #0b1f14" minus-style = "syntax #241111" plus-emph-style = "syntax bold #14532d" minus-emph-style .. 2026. 3. 27.
[Git] .gitignore 문법 .gitignore 의 역할 Project에 원하지 않는 Bakeup File이나, Log File 혹은 컴파일된 파일들을 Git에서 제외시킬수 있는 설정 file이다. .gitignore 파일 만들기 git설정이 있는 .git 폴더와 동일한 Depth에 존재시켜야한다. gitignore 파일을 IDE 및 개발환경에 맞게 만들어주는 공식사이트도 존재한다. 문법 #: comments *.a : no .a files !lib.a : .a파일은 무시하는데 lib.a는 추척해라 /TODO : 현재 폴더에 있는 TODO 파일을 무시한다. 다른 폴더에 있는 subdir/TODO는 추척하고 build/ : build폴더에 있는 모든 파일을 무시한다. doc/*.txt : doc폴더에 있는 *.txt 파일들을 무시한다.. 2021. 8. 17.
[Git] 편리한 Git config. $ git config --global -e1. Editor를 vim으로 변경하기 [core] quotepath = false editor = vim2. merge tool을 vscode로 설정하기 설정후 git mergetool 커맨드 실행하면 vscode로 merge conflict 작업을 수행할 수 있다. [merge] tool = vscode [mergetool "vscode"] cmd = code --wait $MERGED 2021. 3. 31.