๐ Git editor ์ค์
- --wait ์ต์ ์ editor๋ฅผ ์คํ์์ผฐ์ ๊ฒฝ์ฐ, ์ธ์คํด์ค๋ฅผ ๋ซ์ ๋ ๊น์ง bash ํ๊ฒฝ์ ๋๊ธฐํ๊ฒ ๋๋ค
git config --global core.editor editor_name --wait
๐ Git Diff ์ค์
- git configuration file open
git config --global -e
- git diff ์ค์ ์ถ๊ฐ
tool = vscode
cmd = "code --wait --diff $local $remote
๐ Git Diff
๐งท Local ํ๊ฒฝ branch ๊ฐ ๋น๊ต
git diff branch1 branch2
๐งท Local ํ๊ฒฝ branch ๊ฐ ๋น๊ต (Tool ์ฌ์ฉ)
gi diffool branch1 branch2
๐งท commit ๊ฐ ๋น๊ต
git diff commithash1 commithash2
git difftool commithash1 commithash2
๐งท ๋ง์ง๋ง commit๊ณผ ์ด์ commit ๋น๊ต
git difftool head head^
๐งท Local ํ๊ฒฝ๊ณผ Remote ํ๊ฒฝ ๊ฐ ๋น๊ต
git diff branch_name origin/branch_name2
'Study_note(zb_data) > Git' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
์คํฐ๋ ๋ ธํธ (Git tag) (0) | 2023.09.03 |
---|---|
์คํฐ๋ ๋ ธํธ (Git merge) (0) | 2023.09.03 |
์คํฐ๋ ๋ ธํธ (Git_Branch ๊ด๋ฆฌํ๊ธฐ) (0) | 2023.08.31 |
์คํฐ๋ ๋ ธํธ (Git_remote repository ์์ฑ, ๋ณต์ ) (0) | 2023.08.31 |
์คํฐ๋ ๋ ธํธ (about Git) (0) | 2023.08.31 |