Back to Lazygit

Lazygit 키 바인딩

docs/keybindings/Keybindings_ko.md

0.61.126.1 KB
Original Source

This file is auto-generated. To update, make the changes in the pkg/i18n directory and then run go generate ./... from the project root.

Lazygit 키 바인딩

Legend: <c-b> means ctrl+b, <a-b> means alt+b, B means shift+b

글로벌 키 바인딩

KeyActionInfo
<c-r>최근에 사용한 저장소로 전환
<pgup> (fn+up/shift+k)메인 패널을 위로 스크롤
<pgdown> (fn+down/shift+j)메인 패널을 아래로로 스크롤
@명령어 로그 메뉴 열기View options for the command log e.g. show/hide the command log and focus the command log.
P푸시Push the current branch to its upstream branch. If no upstream is configured, you will be prompted to configure an upstream branch.
p업데이트Pull changes from the remote for the current branch. If no upstream is configured, you will be prompted to configure an upstream branch.
)Increase rename similarity thresholdIncrease the similarity threshold for a deletion and addition pair to be treated as a rename.

The default can be changed in the config file with the key 'git.renameSimilarityThreshold'. | | ( | Decrease rename similarity threshold | Decrease the similarity threshold for a deletion and addition pair to be treated as a rename.

The default can be changed in the config file with the key 'git.renameSimilarityThreshold'. | | } | Diff 보기의 변경 사항 주위에 표시되는 컨텍스트의 크기를 늘리기 | Increase the amount of the context shown around changes in the diff view.

The default can be changed in the config file with the key 'git.diffContextSize'. | | { | Diff 보기의 변경 사항 주위에 표시되는 컨텍스트 크기 줄이기 | Decrease the amount of the context shown around changes in the diff view.

The default can be changed in the config file with the key 'git.diffContextSize'. | | : | Execute shell command | Bring up a prompt where you can enter a shell command to execute. | | <c-p> | 커스텀 Patch 옵션 보기 | | | m | View merge/rebase options | View options to abort/continue/skip the current merge/rebase. | | R | 새로고침 | Refresh the git state (i.e. run git status, git branch, etc in background to update the contents of panels). This does not run git fetch. | | + | 다음 스크린 모드 (normal/half/fullscreen) | | | _ | 이전 스크린 모드 | | | \| | Cycle pagers | Choose the next pager in the list of configured pagers | | <esc> | 취소 | | | ? | 매뉴 열기 | | | <c-s> | View filter-by-path options | View options for filtering the commit log, so that only commits matching the filter are shown. | | W | Diff 메뉴 열기 | View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction. | | <c-e> | Diff 메뉴 열기 | View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction. | | q | 종료 | | | <c-z> | Suspend the application | | | <c-w> | 공백문자를 Diff 뷰에서 표시 여부 전환 | Toggle whether or not whitespace changes are shown in the diff view.

The default can be changed in the config file with the key 'git.ignoreWhitespaceInDiffView'. | | z | 되돌리기 (reflog) (실험적) | The reflog will be used to determine what git command to run to undo the last git command. This does not include changes to the working tree; only commits are taken into consideration. | | Z | 다시 실행 (reflog) (실험적) | The reflog will be used to determine what git command to run to redo the last git command. This does not include changes to the working tree; only commits are taken into consideration. |

List panel navigation

KeyActionInfo
,이전 페이지
.다음 페이지
< (<home>)맨 위로 스크롤
> (<end>)맨 아래로 스크롤
v드래그 선택 전환
<s-down>Range select down
<s-up>Range select up
/검색 시작
H우 스크롤
L좌 스크롤
]이전 탭
[다음 탭

Input prompt

KeyActionInfo
<enter>확인
<esc>닫기/취소

Reflog

KeyActionInfo
<c-o>Copy abbreviated commit hash to clipboard
<space>체크아웃Checkout the selected commit as a detached HEAD.
y커밋 attribute 복사Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author).
o브라우저에서 커밋 열기
n커밋에서 새 브랜치를 만듭니다.
NMove commits to new branchCreate a new branch and move the unpushed commits of the current branch to it. Useful if you meant to start new work and forgot to create a new branch first.

Note that this disregards the selection, the new branch is always created either from the main branch or stacked on top of the current branch (you get to choose which). | | g | View reset options | View reset options (soft/mixed/hard) for resetting onto selected item. | | C | 커밋을 복사 (cherry-pick) | Mark commit as copied. Then, within the local commits view, you can press V to paste (cherry-pick) the copied commit(s) into your checked out branch. At any time you can press <esc> to cancel the selection. | | <c-r> | Reset cherry-picked (copied) commits selection | | | <c-t> | Open external diff tool (git difftool) | | | * | Select commits of current branch | | | 0 | Focus main view | | | <enter> | 커밋 보기 | | | w | View worktree options | | | / | Filter the current view by text | |

Secondary

KeyActionInfo
<tab>패널 전환Switch to other view (staged/unstaged changes).
<esc>Exit back to side panel
/검색 시작

Stash

KeyActionInfo
<space>적용Apply the stash entry to your working directory.
gPopApply the stash entry to your working directory and remove the stash entry.
dDropRemove the stash entry from the stash list.
n새 브랜치 생성Create a new branch from the selected stash entry. This works by git checking out the commit that the stash entry was created from, creating a new branch from that commit, then applying the stash entry to the new branch as an additional commit.
rRename stash
0Focus main view
<enter>View selected item's files
wView worktree options
/Filter the current view by text

Sub-commits

KeyActionInfo
<c-o>Copy abbreviated commit hash to clipboard
<space>체크아웃Checkout the selected commit as a detached HEAD.
y커밋 attribute 복사Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author).
o브라우저에서 커밋 열기
n커밋에서 새 브랜치를 만듭니다.
NMove commits to new branchCreate a new branch and move the unpushed commits of the current branch to it. Useful if you meant to start new work and forgot to create a new branch first.

Note that this disregards the selection, the new branch is always created either from the main branch or stacked on top of the current branch (you get to choose which). | | g | View reset options | View reset options (soft/mixed/hard) for resetting onto selected item. | | C | 커밋을 복사 (cherry-pick) | Mark commit as copied. Then, within the local commits view, you can press V to paste (cherry-pick) the copied commit(s) into your checked out branch. At any time you can press <esc> to cancel the selection. | | <c-r> | Reset cherry-picked (copied) commits selection | | | <c-t> | Open external diff tool (git difftool) | | | * | Select commits of current branch | | | 0 | Focus main view | | | <enter> | View selected item's files | | | w | View worktree options | | | / | 검색 시작 | |

Worktrees

KeyActionInfo
nNew worktree
<space>SwitchSwitch to the selected worktree.
oOpen in editor
dRemoveRemove the selected worktree. This will both delete the worktree's directory, as well as metadata about the worktree in the .git directory.
/Filter the current view by text

메뉴

KeyActionInfo
<enter>실행
<esc>닫기/취소
/Filter the current view by text

메인 패널 (Merging)

KeyActionInfo
<space>Pick hunk
bPick all hunks
<up>이전 hunk를 선택
<down>다음 hunk를 선택
<left>이전 충돌을 선택
<right>다음 충돌을 선택
z되돌리기Undo last merge conflict resolution.
e파일 편집Open file in external editor.
o파일 닫기Open file in default application.
MView merge conflict optionsView options for resolving merge conflicts.
<esc>파일 목록으로 돌아가기

메인 패널 (Normal)

KeyActionInfo
mouse wheel down (fn+up)아래로 스크롤
mouse wheel up (fn+down)위로 스크롤
<tab>패널 전환Switch to other view (staged/unstaged changes).
<esc>Exit back to side panel
/검색 시작

메인 패널 (Patch Building)

KeyActionInfo
<left>이전 hunk를 선택
<right>다음 hunk를 선택
v드래그 선택 전환
aToggle hunk selectionToggle line-by-line vs. hunk selection mode.
<c-o>선택한 텍스트를 클립보드에 복사
o파일 닫기Open file in default application.
e파일 편집Open file in external editor.
<space>Line(s)을 패치에 추가/삭제
dRemove lines from commitRemove the selected lines from this commit. This runs an interactive rebase in the background, so you may get a merge conflict if a later commit also changes these lines.
<esc>Exit custom patch builder
/검색 시작

메인 패널 (Staging)

KeyActionInfo
<left>이전 hunk를 선택
<right>다음 hunk를 선택
v드래그 선택 전환
aToggle hunk selectionToggle line-by-line vs. hunk selection mode.
<c-o>선택한 텍스트를 클립보드에 복사
<space>Staged 전환선택한 행을 staged / unstaged
d변경을 삭제 (git reset)When unstaged change is selected, discard the change using git reset. When staged change is selected, unstage the change.
o파일 닫기Open file in default application.
e파일 편집Open file in external editor.
<esc>파일 목록으로 돌아가기
<tab>패널 전환Switch to other view (staged/unstaged changes).
EEdit hunkEdit selected hunk in external editor.
c커밋 변경내용스테이징된 변경 사항 커밋.
wCommit changes without pre-commit hook
CGit 편집기를 사용하여 변경 내용을 커밋합니다.
<c-f>Find base commit for fixupFind the commit that your current changes are building upon, for the sake of amending/fixing up the commit. This spares you from having to look through your branch's commits one-by-one to see which commit should be amended/fixed up. See docs: https://github.com/jesseduffield/lazygit/tree/master/docs/Fixup_Commits.md
/검색 시작

브랜치

KeyActionInfo
<c-o>브랜치명을 클립보드에 복사
iGit-flow 옵션 보기
<space>체크아웃Checkout selected item.
n새 브랜치 생성
NMove commits to new branchCreate a new branch and move the unpushed commits of the current branch to it. Useful if you meant to start new work and forgot to create a new branch first.

Note that this disregards the selection, the new branch is always created either from the main branch or stacked on top of the current branch (you get to choose which). | | o | 풀 리퀘스트 생성 | | | O | 풀 리퀘스트 생성 옵션 | | | G | Open pull request in browser | | | <c-y> | 풀 리퀘스트 URL을 클립보드에 복사 | | | c | 이름으로 체크아웃 | Checkout by name. In the input box you can enter '-' to switch to the previous branch. | | - | Checkout previous branch | | | F | 강제 체크아웃 | Force checkout selected branch. This will discard all local changes in your working directory before checking out the selected branch. | | d | 삭제 | View delete options for local/remote branch. | | r | 체크아웃된 브랜치를 이 브랜치에 리베이스 | Rebase the checked-out branch onto the selected branch. | | M | 현재 브랜치에 병합 | View options for merging the selected item into the current branch (regular merge, squash merge) | | f | Fast-forward this branch from its upstream | Fast-forward selected branch from its upstream. | | T | 태그를 생성 | | | s | Sort order | | | g | View reset options | | | R | 브랜치 이름 변경 | | | u | View upstream options | View options relating to the branch's upstream e.g. setting/unsetting the upstream and resetting to the upstream. | | <c-t> | Open external diff tool (git difftool) | | | 0 | Focus main view | | | <enter> | 커밋 보기 | | | w | View worktree options | | | / | Filter the current view by text | |

상태

KeyActionInfo
o설정 파일 열기Open file in default application.
e설정 파일 수정Open file in external editor.
u업데이트 확인
<enter>최근에 사용한 저장소로 전환
aShow/cycle all branch logs
AShow/cycle all branch logs (reverse)
0Focus main view

서브모듈

KeyActionInfo
<c-o>서브모듈 이름을 클립보드에 복사
<enter>Enter서브모듈 열기
dRemoveRemove the selected submodule and its corresponding directory.
uUpdate서브모듈 업데이트
n새로운 서브모듈 추가
e서브모듈의 URL을 수정
iInitialize서브모듈 초기화
bView bulk submodule options
/Filter the current view by text

원격

KeyActionInfo
<enter>View branches
n새로운 Remote 추가
dRemoveRemove the selected remote. Any local branches tracking a remote branch from the remote will be unaffected.
eEditRemote를 수정
fFetch원격을 업데이트
FAdd fork remoteQuickly add a fork remote by replacing the owner in the origin URL and optionally check out a branch from new remote.
/Filter the current view by text

원격 브랜치

KeyActionInfo
<c-o>브랜치명을 클립보드에 복사
<space>체크아웃Checkout a new local branch based on the selected remote branch, or the remote branch as a detached head.
n새 브랜치 생성
M현재 브랜치에 병합View options for merging the selected item into the current branch (regular merge, squash merge)
r체크아웃된 브랜치를 이 브랜치에 리베이스Rebase the checked-out branch onto the selected branch.
d삭제Delete the remote branch from the remote.
uSet as upstreamSet the selected remote branch as the upstream of the checked-out branch.
sSort order
gView reset optionsView reset options (soft/mixed/hard) for resetting onto selected item.
<c-t>Open external diff tool (git difftool)
0Focus main view
<enter>커밋 보기
wView worktree options
/Filter the current view by text

커밋

KeyActionInfo
<c-o>Copy abbreviated commit hash to clipboard
<c-r>Reset cherry-picked (copied) commits selection
bBisect 옵션 보기
s스쿼시Squash the selected commit into the commit below it. The selected commit's message will be appended to the commit below it.
fFixupMeld the selected commit into the commit below it. Similar to squash, but the selected commit's message will be discarded.
cSet fixup messageSet the message option for the fixup commit. The -C option means to use this commit's message instead of the target commit's message.
r커밋메시지 변경Reword the selected commit's message.
R에디터에서 커밋메시지 수정
d커밋 삭제Drop the selected commit. This will remove the commit from the branch via a rebase. If the commit makes changes that later commits depend on, you may need to resolve merge conflicts.
eEdit (start interactive rebase)커밋을 편집
iStart interactive rebaseStart an interactive rebase for the commits on your branch. This will include all commits from the HEAD commit down to the first merge commit or main branch commit.
If you would instead like to start an interactive rebase from the selected commit, press e.
pPickPick commit (when mid-rebase)
FCreate fixup commitCreate fixup commit for this commit
SApply fixup commitsSquash all 'fixup!' commits above selected commit (autosquash)
<c-j>커밋을 1개 아래로 이동
<c-k>커밋을 1개 위로 이동
V커밋을 붙여넣기 (cherry-pick)
BMark as base commit for rebaseSelect a base commit for the next rebase. When you rebase onto a branch, only commits above the base commit will be brought across. This uses the git rebase --onto command.
AAmendAmend commit with staged changes
aAmend commit attributeSet/Reset commit author or set co-author.
tRevertCreate a revert commit for the selected commit, which applies the selected commit's changes in reverse.
TTag commitCreate a new tag pointing at the selected commit. You'll be prompted to enter a tag name and optional description.
<c-l>로그 메뉴 열기View options for commit log e.g. changing sort order, hiding the git graph, showing the whole git graph.
GOpen pull request in browser
<space>체크아웃Checkout the selected commit as a detached HEAD.
y커밋 attribute 복사Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author).
o브라우저에서 커밋 열기
n커밋에서 새 브랜치를 만듭니다.
NMove commits to new branchCreate a new branch and move the unpushed commits of the current branch to it. Useful if you meant to start new work and forgot to create a new branch first.

Note that this disregards the selection, the new branch is always created either from the main branch or stacked on top of the current branch (you get to choose which). | | g | View reset options | View reset options (soft/mixed/hard) for resetting onto selected item. | | C | 커밋을 복사 (cherry-pick) | Mark commit as copied. Then, within the local commits view, you can press V to paste (cherry-pick) the copied commit(s) into your checked out branch. At any time you can press <esc> to cancel the selection. | | <c-t> | Open external diff tool (git difftool) | | | * | Select commits of current branch | | | 0 | Focus main view | | | <enter> | View selected item's files | | | w | View worktree options | | | / | 검색 시작 | |

커밋 파일

KeyActionInfo
<c-o>파일명을 클립보드에 복사
y클립보드에 복사
c체크아웃Checkout file
dView 'discard changes' optionsDiscard this commit's changes to this file
o파일 닫기Open file in default application.
eEditOpen file in external editor.
<c-t>Open external diff tool (git difftool)
<space>Toggle file included in patchToggle whether the file is included in the custom patch. See https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches.
aToggle all files included in patchAdd/remove all commit's files to custom patch. See https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches.
<enter>Enter file to add selected lines to the patch (or toggle directory collapsed)If a file is selected, enter the file so that you can add/remove individual lines to the custom patch. If a directory is selected, toggle the directory.
`파일 트리뷰로 전환Toggle file view between flat and tree layout. Flat layout shows all file paths in a single list, tree layout groups files by directory.

The default can be changed in the config file with the key 'gui.showFileTree'. | | - | Collapse all files | Collapse all directories in the files tree | | = | Expand all files | Expand all directories in the file tree | | 0 | Focus main view | | | / | Filter the current view by text | |

커밋메시지

KeyActionInfo
<enter>확인
<esc>닫기

태그

KeyActionInfo
<c-o>Copy tag to clipboard
<space>체크아웃Checkout the selected tag as a detached HEAD.
n태그를 생성Create new tag from current commit. You'll be prompted to enter a tag name and optional description.
d삭제View delete options for local/remote tag.
P태그를 pushPush the selected tag to a remote. You'll be prompted to select a remote.
g초기화View reset options (soft/mixed/hard) for resetting onto selected item.
<c-t>Open external diff tool (git difftool)
0Focus main view
<enter>커밋 보기
wView worktree options
/Filter the current view by text

파일

KeyActionInfo
<c-o>파일명을 클립보드에 복사
<space>Staged 전환Toggle staged for selected file.
<c-b>파일을 필터하기 (Staged/unstaged)
y클립보드에 복사
c커밋 변경내용스테이징된 변경 사항 커밋.
wCommit changes without pre-commit hook
A마지맛 커밋 수정
CGit 편집기를 사용하여 변경 내용을 커밋합니다.
<c-f>Find base commit for fixupFind the commit that your current changes are building upon, for the sake of amending/fixing up the commit. This spares you from having to look through your branch's commits one-by-one to see which commit should be amended/fixed up. See docs: https://github.com/jesseduffield/lazygit/tree/master/docs/Fixup_Commits.md
eEditOpen file in external editor.
o파일 닫기Open file in default application.
iIgnore file
r파일 새로고침
sStashStash all changes. For other variations of stashing, use the view stash options keybinding.
SStash 옵션 보기View stash options (e.g. stash all, stash staged, stash unstaged).
a모든 변경을 Staged/unstaged으로 전환Toggle staged/unstaged for all files in working tree.
<enter>Stage individual hunks/lines for file, or collapse/expand for directoryIf the selected item is a file, focus the staging view so you can stage individual hunks/lines. If the selected item is a directory, collapse/expand it.
dView 'discard changes' optionsView options for discarding changes to the selected file.
gView upstream reset options
D초기화View reset options for working tree (e.g. nuking the working tree).
`파일 트리뷰로 전환Toggle file view between flat and tree layout. Flat layout shows all file paths in a single list, tree layout groups files by directory.

The default can be changed in the config file with the key 'gui.showFileTree'. | | <c-t> | Open external diff tool (git difftool) | | | M | View merge conflict options | View options for resolving merge conflicts. | | f | Fetch | Fetch changes from remote. | | - | Collapse all files | Collapse all directories in the files tree | | = | Expand all files | Expand all directories in the file tree | | 0 | Focus main view | | | / | Filter the current view by text | |

확인 패널

KeyActionInfo
<enter>확인
<esc>닫기/취소
<c-o>클립보드에 복사