mirror of
				https://github.com/jesseduffield/lazygit.git
				synced 2025-10-30 23:57:43 +02:00 
			
		
		
		
	Improve keybinding descriptions
This adds a bunch of tooltips to keybindings and updates some keybinding descriptions (i.e. labels). It's in preparation for displaying more keybindings on-screen (in the bottom right of the screen), and so due in part to laziness it shortens some descriptions so that we don't need to manage both a short and long description (for on-screen vs in-menu). Nonetheless I've added a ShortDescription field for when we do want to have both a short and long description. You'll notice that some keybindings I deemed unworthy of the options view have longer descriptions, because I could get away with it.
This commit is contained in:
		| @@ -9,26 +9,28 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_ | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-r> `` | Switch to a recent repo |  | | ||||
| | `` <pgup> (fn+up/shift+k) `` | Scroll up main panel |  | | ||||
| | `` <pgdown> (fn+down/shift+j) `` | Scroll down main panel |  | | ||||
| | `` @ `` | Open command log menu |  | | ||||
| | `` } `` | Increase the size of the context shown around changes in the diff view |  | | ||||
| | `` { `` | Decrease the size of the context shown around changes in the diff view |  | | ||||
| | `` : `` | Execute custom command |  | | ||||
| | `` <pgup> (fn+up/shift+k) `` | Scroll up main window |  | | ||||
| | `` <pgdown> (fn+down/shift+j) `` | Scroll down main window |  | | ||||
| | `` @ `` | View command log options | View options for the command log e.g. show/hide the command log and focus the command log. | | ||||
| | `` P `` | Push | Push the current branch to its upstream branch. If no upstream is configured, you will be prompted to configure an upstream branch. | | ||||
| | `` p `` | Pull | Pull changes from the remote for the current branch. If no upstream is configured, you will be prompted to configure an upstream branch. | | ||||
| | `` } `` | Increase diff context size | Increase the amount of the context shown around changes in the diff view. | | ||||
| | `` { `` | Decrease diff context size | Decrease the amount of the context shown around changes in the diff view. | | ||||
| | `` : `` | Execute custom command | Bring up a prompt where you can enter a shell command to execute. Not to be confused with pre-configured custom commands. | | ||||
| | `` <c-p> `` | View custom patch options |  | | ||||
| | `` m `` | View merge/rebase options |  | | ||||
| | `` R `` | Refresh |  | | ||||
| | `` m `` | View merge/rebase options | View options to abort/continue/skip the current merge/rebase. | | ||||
| | `` R `` | Refresh | 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`. | | ||||
| | `` + `` | Next screen mode (normal/half/fullscreen) |  | | ||||
| | `` _ `` | Prev screen mode |  | | ||||
| | `` ? `` | Open menu |  | | ||||
| | `` <c-s> `` | View filter-by-path options |  | | ||||
| | `` W `` | Open diff menu |  | | ||||
| | `` <c-e> `` | Open diff menu |  | | ||||
| | `` <c-w> `` | Toggle whether or not whitespace changes are shown in the diff view |  | | ||||
| | `` ? `` | Open keybindings menu |  | | ||||
| | `` <c-s> `` | View filter-by-path options | View options for filtering the commit log by a file path, so that only commits relating to that path are shown. | | ||||
| | `` W `` | View diffing options | 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> `` | View diffing options | View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction. | | ||||
| | `` q `` | Quit |  | | ||||
| | `` <esc> `` | Cancel |  | | ||||
| | `` <c-w> `` | Toggle whitespace | Toggle whether or not whitespace changes are shown in the diff view. | | ||||
| | `` z `` | Undo | 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. | | ||||
| | `` <c-z> `` | Redo | 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. | | ||||
| | `` P `` | Push |  | | ||||
| | `` p `` | Pull |  | | ||||
|  | ||||
| ## List panel navigation | ||||
|  | ||||
| @@ -51,16 +53,16 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_ | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | Copy the committed file name to the clipboard |  | | ||||
| | `` c `` | Checkout file |  | | ||||
| | `` d `` | Discard this commit's changes to this file |  | | ||||
| | `` o `` | Open file |  | | ||||
| | `` e `` | Edit file |  | | ||||
| | `` <c-o> `` | Copy path to clipboard |  | | ||||
| | `` c `` | Checkout | Checkout file. This replaces the file in your working tree with the version from the selected commit. | | ||||
| | `` d `` | Remove | Discard this commit's changes to this file. This runs an interactive rebase in the background, so you may get a merge conflict if a later commit also changes this file. | | ||||
| | `` o `` | Open file | Open file in default application. | | ||||
| | `` e `` | Edit | Open file in external editor. | | ||||
| | `` <c-t> `` | Open external diff tool (git difftool) |  | | ||||
| | `` <space> `` | Toggle file included in patch |  | | ||||
| | `` a `` | Toggle all files included in patch |  | | ||||
| | `` <enter> `` | Enter file to add selected lines to the patch (or toggle directory collapsed) |  | | ||||
| | `` ` `` | Toggle file tree view |  | | ||||
| | `` <space> `` | Toggle file included in patch | Toggle whether the file is included in the custom patch. See https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches. | | ||||
| | `` a `` | Toggle all files | Add/remove all commit's files to custom patch. See https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches. | | ||||
| | `` <enter> `` | Enter file / 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 tree view | Toggle file view between flat and tree layout. Flat layout shows all file paths in a single list, tree layout groups files by directory. | | ||||
| | `` / `` | Search the current view by text |  | | ||||
|  | ||||
| ## Commit summary | ||||
| @@ -75,37 +77,37 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_ | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | Copy commit SHA to clipboard |  | | ||||
| | `` <c-r> `` | Reset cherry-picked (copied) commits selection |  | | ||||
| | `` <c-r> `` | Reset copied (cherry-picked) commits selection |  | | ||||
| | `` b `` | View bisect options |  | | ||||
| | `` s `` | Squash down |  | | ||||
| | `` f `` | Fixup commit |  | | ||||
| | `` r `` | Reword commit |  | | ||||
| | `` R `` | Reword commit with editor |  | | ||||
| | `` d `` | Delete commit |  | | ||||
| | `` e `` | Edit commit |  | | ||||
| | `` s `` | Squash | Squash the selected commit into the commit below it. The selected commit's message will be appended to the commit below it. | | ||||
| | `` f `` | Fixup | Meld the selected commit into the commit below it. Similar to fixup, but the selected commit's message will be discarded. | | ||||
| | `` r `` | Reword | Reword the selected commit's message. | | ||||
| | `` R `` | Reword with editor |  | | ||||
| | `` d `` | Drop | 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. | | ||||
| | `` e `` | Edit (start interactive rebase) | Edit the selected commit. Use this to start an interactive rebase from the selected commit. When already mid-rebase, this will mark the selected commit for editing, which means that upon continuing the rebase, the rebase will pause at the selected commit to allow you to make changes. | | ||||
| | `` i `` | Start interactive rebase | Start 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`. | | ||||
| | `` p `` | Pick commit (when mid-rebase) |  | | ||||
| | `` F `` | Create fixup commit for this commit |  | | ||||
| | `` S `` | Squash all 'fixup!' commits above selected commit (autosquash) |  | | ||||
| | `` p `` | Pick | Mark the selected commit to be picked (when mid-rebase). This means that the commit will be retained upon continuing the rebase. | | ||||
| | `` F `` | Create fixup commit | Create 'fixup!' commit for the selected commit. Later on, you can press `S` on this same commit to apply all above fixup commits. | | ||||
| | `` S `` | Apply fixup commits | Squash all 'fixup!' commits above selected commit (autosquash). | | ||||
| | `` <c-j> `` | Move commit down one |  | | ||||
| | `` <c-k> `` | Move commit up one |  | | ||||
| | `` V `` | Paste commits (cherry-pick) |  | | ||||
| | `` B `` | Mark commit as base commit for rebase | Select a base commit for the next rebase; this will effectively perform a 'git rebase --onto'. | | ||||
| | `` A `` | Amend commit with staged changes |  | | ||||
| | `` a `` | Set/Reset commit author |  | | ||||
| | `` t `` | Revert commit |  | | ||||
| | `` T `` | Tag commit |  | | ||||
| | `` <c-l> `` | Open log menu |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <space> `` | Checkout commit |  | | ||||
| | `` y `` | Copy commit attribute |  | | ||||
| | `` V `` | Paste (cherry-pick) |  | | ||||
| | `` B `` | Mark as base commit for rebase | Select 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. | | ||||
| | `` A `` | Amend | Amend commit with staged changes. If the selected commit is the HEAD commit, this will perform `git commit --amend`. Otherwise the commit will be amended via a rebase. | | ||||
| | `` a `` | Amend commit attribute | Set/Reset commit author or set co-author. | | ||||
| | `` t `` | Revert | Create a revert commit for the selected commit, which applies the selected commit's changes in reverse. | | ||||
| | `` T `` | Tag commit | Create a new tag pointing at the selected commit. You'll be prompted to enter a tag name and optional description. | | ||||
| | `` <c-l> `` | View log options | View options for commit log e.g. changing sort order, hiding the git graph, showing the whole git graph. | | ||||
| | `` <space> `` | Checkout | Checkout the selected commit as a detached HEAD. | | ||||
| | `` y `` | Copy commit attribute to clipboard | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | ||||
| | `` o `` | Open commit in browser |  | | ||||
| | `` n `` | Create new branch off of commit |  | | ||||
| | `` g `` | View reset options |  | | ||||
| | `` C `` | Copy commit (cherry-pick) |  | | ||||
| | `` g `` | Reset | View reset options (soft/mixed/hard) for resetting onto selected item. | | ||||
| | `` C `` | Copy (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) |  | | ||||
| | `` <enter> `` | View selected item's files |  | | ||||
| | `` <enter> `` | View files |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Search the current view by text |  | | ||||
|  | ||||
| ## Confirmation panel | ||||
| @@ -119,30 +121,30 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | Copy the file name to the clipboard |  | | ||||
| | `` <space> `` | Toggle staged |  | | ||||
| | `` <c-o> `` | Copy path to clipboard |  | | ||||
| | `` <space> `` | Stage | Toggle staged for selected file. | | ||||
| | `` <c-b> `` | Filter files by status |  | | ||||
| | `` y `` | Copy to clipboard |  | | ||||
| | `` c `` | Commit changes |  | | ||||
| | `` c `` | Commit | Commit staged changes. | | ||||
| | `` w `` | Commit changes without pre-commit hook |  | | ||||
| | `` A `` | Amend last commit |  | | ||||
| | `` C `` | Commit changes using git editor |  | | ||||
| | `` <c-f> `` | Find base commit for fixup | Find 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> | | ||||
| | `` e `` | Edit file |  | | ||||
| | `` o `` | Open file |  | | ||||
| | `` e `` | Edit | Open file in external editor. | | ||||
| | `` o `` | Open file | Open file in default application. | | ||||
| | `` i `` | Ignore or exclude file |  | | ||||
| | `` r `` | Refresh files |  | | ||||
| | `` s `` | Stash all changes |  | | ||||
| | `` S `` | View stash options |  | | ||||
| | `` a `` | Stage/unstage all |  | | ||||
| | `` <enter> `` | Stage individual hunks/lines for file, or collapse/expand for directory |  | | ||||
| | `` d `` | View 'discard changes' options |  | | ||||
| | `` s `` | Stash | Stash all changes. For other variations of stashing, use the view stash options keybinding. | | ||||
| | `` S `` | View stash options | View stash options (e.g. stash all, stash staged, stash unstaged). | | ||||
| | `` a `` | Stage all | Toggle staged/unstaged for all files in working tree. | | ||||
| | `` <enter> `` | Stage lines / Collapse directory | If 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. | | ||||
| | `` d `` | Discard | View options for discarding changes to the selected file. | | ||||
| | `` g `` | View upstream reset options |  | | ||||
| | `` D `` | View reset options |  | | ||||
| | `` ` `` | Toggle file tree view |  | | ||||
| | `` D `` | Reset | View reset options for working tree (e.g. nuking the working tree). | | ||||
| | `` ` `` | Toggle file tree view | Toggle file view between flat and tree layout. Flat layout shows all file paths in a single list, tree layout groups files by directory. | | ||||
| | `` <c-t> `` | Open external diff tool (git difftool) |  | | ||||
| | `` M `` | Open external merge tool (git mergetool) |  | | ||||
| | `` f `` | Fetch |  | | ||||
| | `` M `` | Open external merge tool | Run `git mergetool`. | | ||||
| | `` f `` | Fetch | Fetch changes from remote. | | ||||
| | `` / `` | Search the current view by text |  | | ||||
|  | ||||
| ## Local branches | ||||
| @@ -151,40 +153,40 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | Copy branch name to clipboard |  | | ||||
| | `` i `` | Show git-flow options |  | | ||||
| | `` <space> `` | Checkout |  | | ||||
| | `` <space> `` | Checkout | Checkout selected item. | | ||||
| | `` n `` | New branch |  | | ||||
| | `` o `` | Create pull request |  | | ||||
| | `` O `` | Create pull request options |  | | ||||
| | `` O `` | View create pull request options |  | | ||||
| | `` <c-y> `` | Copy pull request URL to clipboard |  | | ||||
| | `` c `` | Checkout by name, enter '-' to switch to last |  | | ||||
| | `` F `` | Force checkout |  | | ||||
| | `` d `` | View delete options |  | | ||||
| | `` r `` | Rebase checked-out branch onto this branch |  | | ||||
| | `` M `` | Merge into currently checked out branch |  | | ||||
| | `` f `` | Fast-forward this branch from its upstream |  | | ||||
| | `` T `` | Create tag |  | | ||||
| | `` c `` | Checkout by name | Checkout by name. In the input box you can enter '-' to switch to the last branch. | | ||||
| | `` F `` | Force checkout | Force checkout selected branch. This will discard all local changes in your working directory before checking out the selected branch. | | ||||
| | `` d `` | Delete | View delete options for local/remote branch. | | ||||
| | `` r `` | Rebase | Rebase the checked-out branch onto the selected branch. | | ||||
| | `` M `` | Merge | Merge selected branch into currently checked out branch. | | ||||
| | `` f `` | Fast-forward | Fast-forward selected branch from its upstream. | | ||||
| | `` T `` | New tag |  | | ||||
| | `` s `` | Sort order |  | | ||||
| | `` g `` | View reset options |  | | ||||
| | `` g `` | Reset |  | | ||||
| | `` R `` | Rename branch |  | | ||||
| | `` u `` | View upstream options | View options relating to the branch's upstream e.g. setting/unsetting the upstream and resetting to the upstream | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` u `` | View upstream options | View options relating to the branch's upstream e.g. setting/unsetting the upstream and resetting to the upstream. | | ||||
| | `` <enter> `` | View commits |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## Main panel (merging) | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` e `` | Edit file |  | | ||||
| | `` o `` | Open file |  | | ||||
| | `` <left> `` | Select previous conflict |  | | ||||
| | `` <right> `` | Select next conflict |  | | ||||
| | `` <up> `` | Select previous hunk |  | | ||||
| | `` <down> `` | Select next hunk |  | | ||||
| | `` z `` | Undo |  | | ||||
| | `` M `` | Open external merge tool (git mergetool) |  | | ||||
| | `` <space> `` | Pick hunk |  | | ||||
| | `` b `` | Pick all hunks |  | | ||||
| | `` <up> `` | Previous hunk |  | | ||||
| | `` <down> `` | Next hunk |  | | ||||
| | `` <left> `` | Previous conflict |  | | ||||
| | `` <right> `` | Next conflict |  | | ||||
| | `` z `` | Undo | Undo last merge conflict resolution. | | ||||
| | `` e `` | Edit file | Open file in external editor. | | ||||
| | `` o `` | Open file | Open file in default application. | | ||||
| | `` M `` | Open external merge tool | Run `git mergetool`. | | ||||
| | `` <esc> `` | Return to files panel |  | | ||||
|  | ||||
| ## Main panel (normal) | ||||
| @@ -198,14 +200,14 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <left> `` | Select previous hunk |  | | ||||
| | `` <right> `` | Select next hunk |  | | ||||
| | `` <left> `` | Go to previous hunk |  | | ||||
| | `` <right> `` | Go to next hunk |  | | ||||
| | `` v `` | Toggle range select |  | | ||||
| | `` a `` | Toggle select hunk |  | | ||||
| | `` <c-o> `` | Copy the selected text to the clipboard |  | | ||||
| | `` o `` | Open file |  | | ||||
| | `` e `` | Edit file |  | | ||||
| | `` <space> `` | Add/Remove line(s) to patch |  | | ||||
| | `` a `` | Select hunk | Toggle hunk selection mode. | | ||||
| | `` <c-o> `` | Copy selected text to clipboard |  | | ||||
| | `` o `` | Open file | Open file in default application. | | ||||
| | `` e `` | Edit file | Open file in external editor. | | ||||
| | `` <space> `` | Toggle lines in patch |  | | ||||
| | `` <esc> `` | Exit custom patch builder |  | | ||||
| | `` / `` | Search the current view by text |  | | ||||
|  | ||||
| @@ -213,19 +215,19 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <left> `` | Select previous hunk |  | | ||||
| | `` <right> `` | Select next hunk |  | | ||||
| | `` <left> `` | Go to previous hunk |  | | ||||
| | `` <right> `` | Go to next hunk |  | | ||||
| | `` v `` | Toggle range select |  | | ||||
| | `` a `` | Toggle select hunk |  | | ||||
| | `` <c-o> `` | Copy the selected text to the clipboard |  | | ||||
| | `` o `` | Open file |  | | ||||
| | `` e `` | Edit file |  | | ||||
| | `` a `` | Select hunk | Toggle hunk selection mode. | | ||||
| | `` <c-o> `` | Copy selected text to clipboard |  | | ||||
| | `` <space> `` | Stage | Toggle selection staged / unstaged. | | ||||
| | `` d `` | Discard | When unstaged change is selected, discard the change using `git reset`. When staged change is selected, unstage the change. | | ||||
| | `` o `` | Open file | Open file in default application. | | ||||
| | `` e `` | Edit file | Open file in external editor. | | ||||
| | `` <esc> `` | Return to files panel |  | | ||||
| | `` <tab> `` | Switch to other panel (staged/unstaged changes) |  | | ||||
| | `` <space> `` | Toggle line staged / unstaged |  | | ||||
| | `` d `` | Discard change (git reset) |  | | ||||
| | `` E `` | Edit hunk |  | | ||||
| | `` c `` | Commit changes |  | | ||||
| | `` <tab> `` | Switch view | Switch to other view (staged/unstaged changes). | | ||||
| | `` E `` | Edit hunk | Edit selected hunk in external editor. | | ||||
| | `` c `` | Commit | Commit staged changes. | | ||||
| | `` w `` | Commit changes without pre-commit hook |  | | ||||
| | `` C `` | Commit changes using git editor |  | | ||||
| | `` / `` | Search the current view by text |  | | ||||
| @@ -243,16 +245,16 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | Copy commit SHA to clipboard |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <space> `` | Checkout commit |  | | ||||
| | `` y `` | Copy commit attribute |  | | ||||
| | `` <space> `` | Checkout | Checkout the selected commit as a detached HEAD. | | ||||
| | `` y `` | Copy commit attribute to clipboard | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | ||||
| | `` o `` | Open commit in browser |  | | ||||
| | `` n `` | Create new branch off of commit |  | | ||||
| | `` g `` | View reset options |  | | ||||
| | `` C `` | Copy commit (cherry-pick) |  | | ||||
| | `` <c-r> `` | Reset cherry-picked (copied) commits selection |  | | ||||
| | `` g `` | Reset | View reset options (soft/mixed/hard) for resetting onto selected item. | | ||||
| | `` C `` | Copy (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 copied (cherry-picked) commits selection |  | | ||||
| | `` <c-t> `` | Open external diff tool (git difftool) |  | | ||||
| | `` <enter> `` | View commits |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## Remote branches | ||||
| @@ -260,47 +262,48 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | Copy branch name to clipboard |  | | ||||
| | `` <space> `` | Checkout |  | | ||||
| | `` <space> `` | Checkout | Checkout a new local branch based on the selected remote branch. The new branch will track the remote branch. | | ||||
| | `` n `` | New branch |  | | ||||
| | `` M `` | Merge into currently checked out branch |  | | ||||
| | `` r `` | Rebase checked-out branch onto this branch |  | | ||||
| | `` d `` | Delete remote tag |  | | ||||
| | `` u `` | Set as upstream of checked-out branch |  | | ||||
| | `` M `` | Merge | Merge selected branch into currently checked out branch. | | ||||
| | `` r `` | Rebase | Rebase the checked-out branch onto the selected branch. | | ||||
| | `` d `` | Delete | Delete the remote branch from the remote. | | ||||
| | `` u `` | Set as upstream | Set the selected remote branch as the upstream of the checked-out branch. | | ||||
| | `` s `` | Sort order |  | | ||||
| | `` g `` | View reset options |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` g `` | Reset | View reset options (soft/mixed/hard) for resetting onto selected item. | | ||||
| | `` <enter> `` | View commits |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## Remotes | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` f `` | Fetch remote |  | | ||||
| | `` n `` | Add new remote |  | | ||||
| | `` d `` | Remove remote |  | | ||||
| | `` e `` | Edit remote |  | | ||||
| | `` <enter> `` | View branches |  | | ||||
| | `` n `` | New remote |  | | ||||
| | `` d `` | Remove | Remove the selected remote. Any local branches tracking a remote branch from the remote will be unaffected. | | ||||
| | `` e `` | Edit | Edit the selected remote's name or URL. | | ||||
| | `` f `` | Fetch | Fetch updates from the remote repository. This retrieves new commits and branches without merging them into your local branches. | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## Stash | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <space> `` | Apply |  | | ||||
| | `` g `` | Pop |  | | ||||
| | `` d `` | Drop |  | | ||||
| | `` n `` | New branch |  | | ||||
| | `` <space> `` | Apply | Apply the stash entry to your working directory. | | ||||
| | `` g `` | Pop | Apply the stash entry to your working directory and remove the stash entry. | | ||||
| | `` d `` | Drop | Remove the stash entry from the stash list. | | ||||
| | `` n `` | New branch | 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. | | ||||
| | `` r `` | Rename stash |  | | ||||
| | `` <enter> `` | View files |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <enter> `` | View selected item's files |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## Status | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` o `` | Open config file |  | | ||||
| | `` e `` | Edit config file |  | | ||||
| | `` o `` | Open config file | Open file in default application. | | ||||
| | `` e `` | Edit config file | Open file in external editor. | | ||||
| | `` u `` | Check for update |  | | ||||
| | `` <enter> `` | Switch to a recent repo |  | | ||||
| | `` a `` | Show all branch logs |  | | ||||
| @@ -310,16 +313,16 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | Copy commit SHA to clipboard |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <space> `` | Checkout commit |  | | ||||
| | `` y `` | Copy commit attribute |  | | ||||
| | `` <space> `` | Checkout | Checkout the selected commit as a detached HEAD. | | ||||
| | `` y `` | Copy commit attribute to clipboard | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | ||||
| | `` o `` | Open commit in browser |  | | ||||
| | `` n `` | Create new branch off of commit |  | | ||||
| | `` g `` | View reset options |  | | ||||
| | `` C `` | Copy commit (cherry-pick) |  | | ||||
| | `` <c-r> `` | Reset cherry-picked (copied) commits selection |  | | ||||
| | `` g `` | Reset | View reset options (soft/mixed/hard) for resetting onto selected item. | | ||||
| | `` C `` | Copy (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 copied (cherry-picked) commits selection |  | | ||||
| | `` <c-t> `` | Open external diff tool (git difftool) |  | | ||||
| | `` <enter> `` | View selected item's files |  | | ||||
| | `` <enter> `` | View files |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Search the current view by text |  | | ||||
|  | ||||
| ## Submodules | ||||
| @@ -327,13 +330,12 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | Copy submodule name to clipboard |  | | ||||
| | `` <enter> `` | Enter submodule |  | | ||||
| | `` <space> `` | Enter submodule |  | | ||||
| | `` d `` | Remove submodule |  | | ||||
| | `` u `` | Update submodule |  | | ||||
| | `` n `` | Add new submodule |  | | ||||
| | `` <enter> `` | Enter | Enter submodule. After entering the submodule, you can press `<esc>` to escape back to the parent repo. | | ||||
| | `` d `` | Remove | Remove the selected submodule and its corresponding directory. | | ||||
| | `` u `` | Update | Update selected submodule. | | ||||
| | `` n `` | New submodule |  | | ||||
| | `` e `` | Update submodule URL |  | | ||||
| | `` i `` | Initialize submodule |  | | ||||
| | `` i `` | Initialize | Initialize the selected submodule to prepare for fetching. You probably want to follow this up by invoking the 'update' action to fetch the submodule. | | ||||
| | `` b `` | View bulk submodule options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| @@ -341,22 +343,21 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <space> `` | Checkout |  | | ||||
| | `` d `` | View delete options |  | | ||||
| | `` P `` | Push tag |  | | ||||
| | `` n `` | Create tag |  | | ||||
| | `` g `` | View reset options |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <space> `` | Checkout | Checkout the selected tag tag as a detached HEAD. | | ||||
| | `` n `` | New tag | Create new tag from current commit. You'll be prompted to enter a tag name and optional description. | | ||||
| | `` d `` | Delete | View delete options for local/remote tag. | | ||||
| | `` P `` | Push tag | Push the selected tag to a remote. You'll be prompted to select a remote. | | ||||
| | `` g `` | Reset | View reset options (soft/mixed/hard) for resetting onto selected item. | | ||||
| | `` <enter> `` | View commits |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## Worktrees | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` n `` | Create worktree |  | | ||||
| | `` <space> `` | Switch to worktree |  | | ||||
| | `` <enter> `` | Switch to worktree |  | | ||||
| | `` n `` | New worktree |  | | ||||
| | `` <space> `` | Switch | Switch to the selected worktree. | | ||||
| | `` o `` | Open in editor |  | | ||||
| | `` d `` | Remove worktree |  | | ||||
| | `` d `` | Remove | Remove 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 |  | | ||||
|   | ||||
| @@ -11,24 +11,26 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_ | ||||
| | `` <c-r> `` | 最近使用したリポジトリに切り替え |  | | ||||
| | `` <pgup> (fn+up/shift+k) `` | メインパネルを上にスクロール |  | | ||||
| | `` <pgdown> (fn+down/shift+j) `` | メインパネルを下にスクロール |  | | ||||
| | `` @ `` | コマンドログメニューを開く |  | | ||||
| | `` } `` | Increase the size of the context shown around changes in the diff view |  | | ||||
| | `` { `` | Decrease the size of the context shown around changes in the diff view |  | | ||||
| | `` : `` | カスタムコマンドを実行 |  | | ||||
| | `` @ `` | コマンドログメニューを開く | View options for the command log e.g. show/hide the command log and focus the command log. | | ||||
| | `` P `` | Push | Push the current branch to its upstream branch. If no upstream is configured, you will be prompted to configure an upstream branch. | | ||||
| | `` p `` | Pull | Pull changes from the remote for the current branch. If no upstream is configured, you will be prompted to configure an upstream branch. | | ||||
| | `` } `` | Increase diff context size | Increase the amount of the context shown around changes in the diff view. | | ||||
| | `` { `` | Decrease diff context size | Decrease the amount of the context shown around changes in the diff view. | | ||||
| | `` : `` | カスタムコマンドを実行 | Bring up a prompt where you can enter a shell command to execute. Not to be confused with pre-configured custom commands. | | ||||
| | `` <c-p> `` | View custom patch options |  | | ||||
| | `` m `` | View merge/rebase options |  | | ||||
| | `` R `` | リフレッシュ |  | | ||||
| | `` 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) |  | | ||||
| | `` _ `` | 前のスクリーンモード |  | | ||||
| | `` ? `` | メニューを開く |  | | ||||
| | `` <c-s> `` | View filter-by-path options |  | | ||||
| | `` W `` | 差分メニューを開く |  | | ||||
| | `` <c-e> `` | 差分メニューを開く |  | | ||||
| | `` <c-w> `` | 空白文字の差分の表示有無を切り替え |  | | ||||
| | `` <c-s> `` | View filter-by-path options | View options for filtering the commit log by a file path, so that only commits relating to that path are shown. | | ||||
| | `` W `` | 差分メニューを開く | 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> `` | 差分メニューを開く | View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction. | | ||||
| | `` q `` | 終了 |  | | ||||
| | `` <esc> `` | キャンセル |  | | ||||
| | `` <c-w> `` | 空白文字の差分の表示有無を切り替え | Toggle whether or not whitespace changes are shown in the diff view. | | ||||
| | `` z `` | アンドゥ (via reflog) (experimental) | 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. | | ||||
| | `` <c-z> `` | リドゥ (via reflog) (experimental) | 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. | | ||||
| | `` P `` | Push |  | | ||||
| | `` p `` | Pull |  | | ||||
|  | ||||
| ## 一覧パネルの操作 | ||||
|  | ||||
| @@ -51,13 +53,13 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_ | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <space> `` | 適用 |  | | ||||
| | `` g `` | Pop |  | | ||||
| | `` d `` | Drop |  | | ||||
| | `` n `` | 新しいブランチを作成 |  | | ||||
| | `` <space> `` | 適用 | Apply the stash entry to your working directory. | | ||||
| | `` g `` | Pop | Apply the stash entry to your working directory and remove the stash entry. | | ||||
| | `` d `` | Drop | Remove 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. | | ||||
| | `` r `` | Stashを変更 |  | | ||||
| | `` <enter> `` | View files |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <enter> `` | View selected item's files |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## Sub-commits | ||||
| @@ -65,27 +67,26 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_ | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | コミットのSHAをクリップボードにコピー |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <space> `` | コミットをチェックアウト |  | | ||||
| | `` y `` | コミットの情報をコピー |  | | ||||
| | `` <space> `` | チェックアウト | Checkout the selected commit as a detached HEAD. | | ||||
| | `` y `` | コミットの情報をコピー | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | ||||
| | `` o `` | ブラウザでコミットを開く |  | | ||||
| | `` n `` | コミットにブランチを作成 |  | | ||||
| | `` g `` | View reset options |  | | ||||
| | `` C `` | コミットをコピー (cherry-pick) |  | | ||||
| | `` <c-r> `` | Reset cherry-picked (copied) commits selection |  | | ||||
| | `` g `` | Reset | 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 copied (cherry-picked) commits selection |  | | ||||
| | `` <c-t> `` | Open external diff tool (git difftool) |  | | ||||
| | `` <enter> `` | View selected item's files |  | | ||||
| | `` <enter> `` | View files |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | 検索を開始 |  | | ||||
|  | ||||
| ## Worktrees | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` n `` | Create worktree |  | | ||||
| | `` <space> `` | Switch to worktree |  | | ||||
| | `` <enter> `` | Switch to worktree |  | | ||||
| | `` n `` | New worktree |  | | ||||
| | `` <space> `` | Switch | Switch to the selected worktree. | | ||||
| | `` o `` | Open in editor |  | | ||||
| | `` d `` | Remove worktree |  | | ||||
| | `` d `` | Remove | Remove 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 |  | | ||||
|  | ||||
| ## コミット | ||||
| @@ -93,53 +94,53 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_ | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | コミットのSHAをクリップボードにコピー |  | | ||||
| | `` <c-r> `` | Reset cherry-picked (copied) commits selection |  | | ||||
| | `` <c-r> `` | Reset copied (cherry-picked) commits selection |  | | ||||
| | `` b `` | View bisect options |  | | ||||
| | `` s `` | Squash down |  | | ||||
| | `` f `` | Fixup commit |  | | ||||
| | `` r `` | コミットメッセージを変更 |  | | ||||
| | `` s `` | Squash | Squash the selected commit into the commit below it. The selected commit's message will be appended to the commit below it. | | ||||
| | `` f `` | Fixup | Meld the selected commit into the commit below it. Similar to fixup, but the selected commit's message will be discarded. | | ||||
| | `` r `` | コミットメッセージを変更 | Reword the selected commit's message. | | ||||
| | `` R `` | エディタでコミットメッセージを編集 |  | | ||||
| | `` d `` | コミットを削除 |  | | ||||
| | `` e `` | コミットを編集 |  | | ||||
| | `` 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. | | ||||
| | `` e `` | Edit (start interactive rebase) | コミットを編集 | | ||||
| | `` i `` | Start interactive rebase | Start 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`. | | ||||
| | `` p `` | Pick commit (when mid-rebase) |  | | ||||
| | `` F `` | このコミットに対するfixupコミットを作成 |  | | ||||
| | `` S `` | Squash all 'fixup!' commits above selected commit (autosquash) |  | | ||||
| | `` p `` | Pick | Mark the selected commit to be picked (when mid-rebase). This means that the commit will be retained upon continuing the rebase. | | ||||
| | `` F `` | Create fixup commit | このコミットに対するfixupコミットを作成 | | ||||
| | `` S `` | Apply fixup commits | Squash all 'fixup!' commits above selected commit (autosquash). | | ||||
| | `` <c-j> `` | コミットを1つ下に移動 |  | | ||||
| | `` <c-k> `` | コミットを1つ上に移動 |  | | ||||
| | `` V `` | コミットを貼り付け (cherry-pick) |  | | ||||
| | `` B `` | Mark commit as base commit for rebase | Select a base commit for the next rebase; this will effectively perform a 'git rebase --onto'. | | ||||
| | `` A `` | ステージされた変更でamendコミット |  | | ||||
| | `` a `` | Set/Reset commit author |  | | ||||
| | `` t `` | コミットをrevert |  | | ||||
| | `` T `` | タグを作成 |  | | ||||
| | `` <c-l> `` | ログメニューを開く |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <space> `` | コミットをチェックアウト |  | | ||||
| | `` y `` | コミットの情報をコピー |  | | ||||
| | `` B `` | Mark as base commit for rebase | Select 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. | | ||||
| | `` A `` | Amend | ステージされた変更でamendコミット | | ||||
| | `` a `` | Amend commit attribute | Set/Reset commit author or set co-author. | | ||||
| | `` t `` | Revert | Create a revert commit for the selected commit, which applies the selected commit's changes in reverse. | | ||||
| | `` T `` | タグを作成 | Create 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. | | ||||
| | `` <space> `` | チェックアウト | Checkout the selected commit as a detached HEAD. | | ||||
| | `` y `` | コミットの情報をコピー | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | ||||
| | `` o `` | ブラウザでコミットを開く |  | | ||||
| | `` n `` | コミットにブランチを作成 |  | | ||||
| | `` g `` | View reset options |  | | ||||
| | `` C `` | コミットをコピー (cherry-pick) |  | | ||||
| | `` g `` | Reset | 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) |  | | ||||
| | `` <enter> `` | View selected item's files |  | | ||||
| | `` <enter> `` | View files |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | 検索を開始 |  | | ||||
|  | ||||
| ## コミットファイル | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | コミットされたファイル名をクリップボードにコピー |  | | ||||
| | `` c `` | Checkout file |  | | ||||
| | `` d `` | Discard this commit's changes to this file |  | | ||||
| | `` o `` | ファイルを開く |  | | ||||
| | `` e `` | ファイルを編集 |  | | ||||
| | `` <c-o> `` | ファイル名をクリップボードにコピー |  | | ||||
| | `` c `` | チェックアウト | Checkout file. This replaces the file in your working tree with the version from the selected commit. | | ||||
| | `` d `` | Remove | Discard this commit's changes to this file. This runs an interactive rebase in the background, so you may get a merge conflict if a later commit also changes this file. | | ||||
| | `` o `` | ファイルを開く | Open file in default application. | | ||||
| | `` e `` | Edit | Open file in external editor. | | ||||
| | `` <c-t> `` | Open external diff tool (git difftool) |  | | ||||
| | `` <space> `` | Toggle file included in patch |  | | ||||
| | `` a `` | Toggle all files included in patch |  | | ||||
| | `` <enter> `` | Enter file to add selected lines to the patch (or toggle directory collapsed) |  | | ||||
| | `` ` `` | ファイルツリーの表示を切り替え |  | | ||||
| | `` <space> `` | Toggle file included in patch | Toggle whether the file is included in the custom patch. See https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches. | | ||||
| | `` a `` | Toggle all files | Add/remove all commit's files to custom patch. See https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches. | | ||||
| | `` <enter> `` | Enter file / 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. | | ||||
| | `` / `` | 検索を開始 |  | | ||||
|  | ||||
| ## コミットメッセージ | ||||
| @@ -154,13 +155,12 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | サブモジュール名をクリップボードにコピー |  | | ||||
| | `` <enter> `` | サブモジュールを開く |  | | ||||
| | `` <space> `` | サブモジュールを開く |  | | ||||
| | `` d `` | サブモジュールを削除 |  | | ||||
| | `` u `` | サブモジュールを更新 |  | | ||||
| | `` <enter> `` | Enter | サブモジュールを開く | | ||||
| | `` d `` | Remove | Remove the selected submodule and its corresponding directory. | | ||||
| | `` u `` | Update | サブモジュールを更新 | | ||||
| | `` n `` | サブモジュールを新規追加 |  | | ||||
| | `` e `` | サブモジュールのURLを更新 |  | | ||||
| | `` i `` | サブモジュールを初期化 |  | | ||||
| | `` i `` | Initialize | サブモジュールを初期化 | | ||||
| | `` b `` | View bulk submodule options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| @@ -168,8 +168,8 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` o `` | 設定ファイルを開く |  | | ||||
| | `` e `` | 設定ファイルを編集 |  | | ||||
| | `` o `` | 設定ファイルを開く | Open file in default application. | | ||||
| | `` e `` | 設定ファイルを編集 | Open file in external editor. | | ||||
| | `` u `` | 更新を確認 |  | | ||||
| | `` <enter> `` | 最近使用したリポジトリに切り替え |  | | ||||
| | `` a `` | すべてのブランチログを表示 |  | | ||||
| @@ -178,13 +178,13 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <space> `` | チェックアウト |  | | ||||
| | `` d `` | View delete options |  | | ||||
| | `` P `` | タグをpush |  | | ||||
| | `` n `` | タグを作成 |  | | ||||
| | `` g `` | View reset options |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <space> `` | チェックアウト | Checkout the selected tag 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 `` | Delete | View delete options for local/remote tag. | | ||||
| | `` P `` | タグをpush | Push the selected tag to a remote. You'll be prompted to select a remote. | | ||||
| | `` g `` | Reset | View reset options (soft/mixed/hard) for resetting onto selected item. | | ||||
| | `` <enter> `` | コミットを閲覧 |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## ファイル | ||||
| @@ -192,29 +192,29 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | ファイル名をクリップボードにコピー |  | | ||||
| | `` <space> `` | ステージ/アンステージ |  | | ||||
| | `` <space> `` | ステージ/アンステージ | Toggle staged for selected file. | | ||||
| | `` <c-b> `` | ファイルをフィルタ (ステージ/アンステージ) |  | | ||||
| | `` y `` | Copy to clipboard |  | | ||||
| | `` c `` | 変更をコミット |  | | ||||
| | `` c `` | 変更をコミット | Commit staged changes. | | ||||
| | `` w `` | pre-commitフックを実行せずに変更をコミット |  | | ||||
| | `` A `` | 最新のコミットにamend |  | | ||||
| | `` C `` | gitエディタを使用して変更をコミット |  | | ||||
| | `` <c-f> `` | Find base commit for fixup | Find 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> | | ||||
| | `` e `` | ファイルを編集 |  | | ||||
| | `` o `` | ファイルを開く |  | | ||||
| | `` e `` | Edit | Open file in external editor. | | ||||
| | `` o `` | ファイルを開く | Open file in default application. | | ||||
| | `` i `` | ファイルをignore |  | | ||||
| | `` r `` | ファイルをリフレッシュ |  | | ||||
| | `` s `` | 変更をstash |  | | ||||
| | `` S `` | View stash options |  | | ||||
| | `` a `` | すべての変更をステージ/アンステージ |  | | ||||
| | `` <enter> `` | Stage individual hunks/lines for file, or collapse/expand for directory |  | | ||||
| | `` d `` | View 'discard changes' options |  | | ||||
| | `` s `` | Stash | Stash all changes. For other variations of stashing, use the view stash options keybinding. | | ||||
| | `` S `` | View stash options | View stash options (e.g. stash all, stash staged, stash unstaged). | | ||||
| | `` a `` | すべての変更をステージ/アンステージ | Toggle staged/unstaged for all files in working tree. | | ||||
| | `` <enter> `` | Stage lines / Collapse directory | If 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. | | ||||
| | `` d `` | Discard | View options for discarding changes to the selected file. | | ||||
| | `` g `` | View upstream reset options |  | | ||||
| | `` D `` | View reset options |  | | ||||
| | `` ` `` | ファイルツリーの表示を切り替え |  | | ||||
| | `` D `` | Reset | 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. | | ||||
| | `` <c-t> `` | Open external diff tool (git difftool) |  | | ||||
| | `` M `` | Git mergetoolを開く |  | | ||||
| | `` f `` | Fetch |  | | ||||
| | `` M `` | Git mergetoolを開く | Run `git mergetool`. | | ||||
| | `` f `` | Fetch | Fetch changes from remote. | | ||||
| | `` / `` | 検索を開始 |  | | ||||
|  | ||||
| ## ブランチ | ||||
| @@ -223,40 +223,40 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | ブランチ名をクリップボードにコピー |  | | ||||
| | `` i `` | Show git-flow options |  | | ||||
| | `` <space> `` | チェックアウト |  | | ||||
| | `` <space> `` | チェックアウト | Checkout selected item. | | ||||
| | `` n `` | 新しいブランチを作成 |  | | ||||
| | `` o `` | Pull Requestを作成 |  | | ||||
| | `` O `` | Create pull request options |  | | ||||
| | `` O `` | View create pull request options |  | | ||||
| | `` <c-y> `` | Pull RequestのURLをクリップボードにコピー |  | | ||||
| | `` c `` | Checkout by name, enter '-' to switch to last |  | | ||||
| | `` F `` | Force checkout |  | | ||||
| | `` d `` | View delete options |  | | ||||
| | `` r `` | Rebase checked-out branch onto this branch |  | | ||||
| | `` M `` | 現在のブランチにマージ |  | | ||||
| | `` f `` | Fast-forward this branch from its upstream |  | | ||||
| | `` c `` | Checkout by name | Checkout by name. In the input box you can enter '-' to switch to the last branch. | | ||||
| | `` F `` | Force checkout | Force checkout selected branch. This will discard all local changes in your working directory before checking out the selected branch. | | ||||
| | `` d `` | Delete | View delete options for local/remote branch. | | ||||
| | `` r `` | Rebase | Rebase the checked-out branch onto the selected branch. | | ||||
| | `` M `` | 現在のブランチにマージ | Merge selected branch into currently checked out branch. | | ||||
| | `` f `` | Fast-forward | Fast-forward selected branch from its upstream. | | ||||
| | `` T `` | タグを作成 |  | | ||||
| | `` s `` | 並び替え |  | | ||||
| | `` g `` | View reset options |  | | ||||
| | `` g `` | Reset |  | | ||||
| | `` R `` | ブランチ名を変更 |  | | ||||
| | `` u `` | View upstream options | View options relating to the branch's upstream e.g. setting/unsetting the upstream and resetting to the upstream | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` u `` | View upstream options | View options relating to the branch's upstream e.g. setting/unsetting the upstream and resetting to the upstream. | | ||||
| | `` <enter> `` | コミットを閲覧 |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## メインパネル (Merging) | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` e `` | ファイルを編集 |  | | ||||
| | `` o `` | ファイルを開く |  | | ||||
| | `` <left> `` | 前のコンフリクトを選択 |  | | ||||
| | `` <right> `` | 次のコンフリクトを選択 |  | | ||||
| | `` <up> `` | 前のhunkを選択 |  | | ||||
| | `` <down> `` | 次のhunkを選択 |  | | ||||
| | `` z `` | アンドゥ |  | | ||||
| | `` M `` | Git mergetoolを開く |  | | ||||
| | `` <space> `` | Pick hunk |  | | ||||
| | `` b `` | Pick 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. | | ||||
| | `` M `` | Git mergetoolを開く | Run `git mergetool`. | | ||||
| | `` <esc> `` | ファイル一覧に戻る |  | | ||||
|  | ||||
| ## メインパネル (Normal) | ||||
| @@ -273,10 +273,10 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
| | `` <left> `` | 前のhunkを選択 |  | | ||||
| | `` <right> `` | 次のhunkを選択 |  | | ||||
| | `` v `` | 範囲選択を切り替え |  | | ||||
| | `` a `` | Hunk選択を切り替え |  | | ||||
| | `` a `` | Hunk選択を切り替え | Toggle hunk selection mode. | | ||||
| | `` <c-o> `` | 選択されたテキストをクリップボードにコピー |  | | ||||
| | `` o `` | ファイルを開く |  | | ||||
| | `` e `` | ファイルを編集 |  | | ||||
| | `` o `` | ファイルを開く | Open file in default application. | | ||||
| | `` e `` | ファイルを編集 | Open file in external editor. | | ||||
| | `` <space> `` | 行をパッチに追加/削除 |  | | ||||
| | `` <esc> `` | Exit custom patch builder |  | | ||||
| | `` / `` | 検索を開始 |  | | ||||
| @@ -288,16 +288,16 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
| | `` <left> `` | 前のhunkを選択 |  | | ||||
| | `` <right> `` | 次のhunkを選択 |  | | ||||
| | `` v `` | 範囲選択を切り替え |  | | ||||
| | `` a `` | Hunk選択を切り替え |  | | ||||
| | `` a `` | Hunk選択を切り替え | Toggle hunk selection mode. | | ||||
| | `` <c-o> `` | 選択されたテキストをクリップボードにコピー |  | | ||||
| | `` o `` | ファイルを開く |  | | ||||
| | `` e `` | ファイルを編集 |  | | ||||
| | `` <space> `` | ステージ/アンステージ | 選択行をステージ/アンステージ | | ||||
| | `` 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> `` | パネルを切り替え |  | | ||||
| | `` <space> `` | 選択行をステージ/アンステージ |  | | ||||
| | `` d `` | 変更を削除 (git reset) |  | | ||||
| | `` E `` | Edit hunk |  | | ||||
| | `` c `` | 変更をコミット |  | | ||||
| | `` <tab> `` | パネルを切り替え | Switch to other view (staged/unstaged changes). | | ||||
| | `` E `` | Edit hunk | Edit selected hunk in external editor. | | ||||
| | `` c `` | 変更をコミット | Commit staged changes. | | ||||
| | `` w `` | pre-commitフックを実行せずに変更をコミット |  | | ||||
| | `` C `` | gitエディタを使用して変更をコミット |  | | ||||
| | `` / `` | 検索を開始 |  | | ||||
| @@ -314,10 +314,11 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` f `` | リモートをfetch |  | | ||||
| | `` <enter> `` | View branches |  | | ||||
| | `` n `` | リモートを新規追加 |  | | ||||
| | `` d `` | リモートを削除 |  | | ||||
| | `` e `` | リモートを編集 |  | | ||||
| | `` d `` | Remove | Remove the selected remote. Any local branches tracking a remote branch from the remote will be unaffected. | | ||||
| | `` e `` | Edit | リモートを編集 | | ||||
| | `` f `` | Fetch | リモートをfetch | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## リモートブランチ | ||||
| @@ -325,16 +326,16 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | ブランチ名をクリップボードにコピー |  | | ||||
| | `` <space> `` | チェックアウト |  | | ||||
| | `` <space> `` | チェックアウト | Checkout a new local branch based on the selected remote branch. The new branch will track the remote branch. | | ||||
| | `` n `` | 新しいブランチを作成 |  | | ||||
| | `` M `` | 現在のブランチにマージ |  | | ||||
| | `` r `` | Rebase checked-out branch onto this branch |  | | ||||
| | `` d `` | Delete remote tag |  | | ||||
| | `` u `` | Set as upstream of checked-out branch |  | | ||||
| | `` M `` | 現在のブランチにマージ | Merge selected branch into currently checked out branch. | | ||||
| | `` r `` | Rebase | Rebase the checked-out branch onto the selected branch. | | ||||
| | `` d `` | Delete | Delete the remote branch from the remote. | | ||||
| | `` u `` | Set as upstream | Set the selected remote branch as the upstream of the checked-out branch. | | ||||
| | `` s `` | 並び替え |  | | ||||
| | `` g `` | View reset options |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` g `` | Reset | View reset options (soft/mixed/hard) for resetting onto selected item. | | ||||
| | `` <enter> `` | コミットを閲覧 |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## 参照ログ | ||||
| @@ -342,16 +343,16 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | コミットのSHAをクリップボードにコピー |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <space> `` | コミットをチェックアウト |  | | ||||
| | `` y `` | コミットの情報をコピー |  | | ||||
| | `` <space> `` | チェックアウト | Checkout the selected commit as a detached HEAD. | | ||||
| | `` y `` | コミットの情報をコピー | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | ||||
| | `` o `` | ブラウザでコミットを開く |  | | ||||
| | `` n `` | コミットにブランチを作成 |  | | ||||
| | `` g `` | View reset options |  | | ||||
| | `` C `` | コミットをコピー (cherry-pick) |  | | ||||
| | `` <c-r> `` | Reset cherry-picked (copied) commits selection |  | | ||||
| | `` g `` | Reset | 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 copied (cherry-picked) commits selection |  | | ||||
| | `` <c-t> `` | Open external diff tool (git difftool) |  | | ||||
| | `` <enter> `` | コミットを閲覧 |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## 確認パネル | ||||
|   | ||||
| @@ -11,24 +11,26 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_ | ||||
| | `` <c-r> `` | 최근에 사용한 저장소로 전환 |  | | ||||
| | `` <pgup> (fn+up/shift+k) `` | 메인 패널을 위로 스크롤 |  | | ||||
| | `` <pgdown> (fn+down/shift+j) `` | 메인 패널을 아래로로 스크롤 |  | | ||||
| | `` @ `` | 명령어 로그 메뉴 열기 |  | | ||||
| | `` } `` | Diff 보기의 변경 사항 주위에 표시되는 컨텍스트의 크기를 늘리기 |  | | ||||
| | `` { `` | Diff 보기의 변경 사항 주위에 표시되는 컨텍스트 크기 줄이기 |  | | ||||
| | `` : `` | Execute custom command |  | | ||||
| | `` @ `` | 명령어 로그 메뉴 열기 | 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. | | ||||
| | `` } `` | Diff 보기의 변경 사항 주위에 표시되는 컨텍스트의 크기를 늘리기 | Increase the amount of the context shown around changes in the diff view. | | ||||
| | `` { `` | Diff 보기의 변경 사항 주위에 표시되는 컨텍스트 크기 줄이기 | Decrease the amount of the context shown around changes in the diff view. | | ||||
| | `` : `` | Execute custom command | Bring up a prompt where you can enter a shell command to execute. Not to be confused with pre-configured custom commands. | | ||||
| | `` <c-p> `` | 커스텀 Patch 옵션 보기 |  | | ||||
| | `` m `` | View merge/rebase options |  | | ||||
| | `` R `` | 새로고침 |  | | ||||
| | `` 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) |  | | ||||
| | `` _ `` | 이전 스크린 모드 |  | | ||||
| | `` ? `` | 매뉴 열기 |  | | ||||
| | `` <c-s> `` | View filter-by-path options |  | | ||||
| | `` W `` | Diff 메뉴 열기 |  | | ||||
| | `` <c-e> `` | Diff 메뉴 열기 |  | | ||||
| | `` <c-w> `` | 공백문자를 Diff 뷰에서 표시 여부 전환 |  | | ||||
| | `` <c-s> `` | View filter-by-path options | View options for filtering the commit log by a file path, so that only commits relating to that path 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 `` | 종료 |  | | ||||
| | `` <esc> `` | 취소 |  | | ||||
| | `` <c-w> `` | 공백문자를 Diff 뷰에서 표시 여부 전환 | Toggle whether or not whitespace changes are shown in the diff view. | | ||||
| | `` 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. | | ||||
| | `` <c-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. | | ||||
| | `` P `` | 푸시 |  | | ||||
| | `` p `` | 업데이트 |  | | ||||
|  | ||||
| ## List panel navigation | ||||
|  | ||||
| @@ -52,29 +54,29 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_ | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | 커밋 SHA를 클립보드에 복사 |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <space> `` | 커밋을 체크아웃 |  | | ||||
| | `` y `` | 커밋 attribute 복사 |  | | ||||
| | `` <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 `` | 커밋에서 새 브랜치를 만듭니다. |  | | ||||
| | `` g `` | View reset options |  | | ||||
| | `` C `` | 커밋을 복사 (cherry-pick) |  | | ||||
| | `` 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) |  | | ||||
| | `` <enter> `` | 커밋 보기 |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## Stash | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <space> `` | 적용 |  | | ||||
| | `` g `` | Pop |  | | ||||
| | `` d `` | Drop |  | | ||||
| | `` n `` | 새 브랜치 생성 |  | | ||||
| | `` <space> `` | 적용 | Apply the stash entry to your working directory. | | ||||
| | `` g `` | Pop | Apply the stash entry to your working directory and remove the stash entry. | | ||||
| | `` d `` | Drop | Remove 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. | | ||||
| | `` r `` | Rename stash |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <enter> `` | View selected item's files |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## Sub-commits | ||||
| @@ -82,27 +84,26 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_ | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | 커밋 SHA를 클립보드에 복사 |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <space> `` | 커밋을 체크아웃 |  | | ||||
| | `` y `` | 커밋 attribute 복사 |  | | ||||
| | `` <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 `` | 커밋에서 새 브랜치를 만듭니다. |  | | ||||
| | `` g `` | View reset options |  | | ||||
| | `` C `` | 커밋을 복사 (cherry-pick) |  | | ||||
| | `` 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) |  | | ||||
| | `` <enter> `` | View selected item's files |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | 검색 시작 |  | | ||||
|  | ||||
| ## Worktrees | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` n `` | Create worktree |  | | ||||
| | `` <space> `` | Switch to worktree |  | | ||||
| | `` <enter> `` | Switch to worktree |  | | ||||
| | `` n `` | New worktree |  | | ||||
| | `` <space> `` | Switch | Switch to the selected worktree. | | ||||
| | `` o `` | Open in editor |  | | ||||
| | `` d `` | Remove worktree |  | | ||||
| | `` d `` | Remove | Remove 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 |  | | ||||
|  | ||||
| ## 메뉴 | ||||
| @@ -117,16 +118,16 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_ | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` e `` | 파일 편집 |  | | ||||
| | `` o `` | 파일 닫기 |  | | ||||
| | `` <left> `` | 이전 충돌을 선택 |  | | ||||
| | `` <right> `` | 다음 충돌을 선택 |  | | ||||
| | `` <up> `` | 이전 hunk를 선택 |  | | ||||
| | `` <down> `` | 다음 hunk를 선택 |  | | ||||
| | `` z `` | 되돌리기 |  | | ||||
| | `` M `` | Git mergetool를 열기 |  | | ||||
| | `` <space> `` | Pick hunk |  | | ||||
| | `` b `` | Pick 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. | | ||||
| | `` M `` | Git mergetool를 열기 | Run `git mergetool`. | | ||||
| | `` <esc> `` | 파일 목록으로 돌아가기 |  | | ||||
|  | ||||
| ## 메인 패널 (Normal) | ||||
| @@ -143,10 +144,10 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_ | ||||
| | `` <left> `` | 이전 hunk를 선택 |  | | ||||
| | `` <right> `` | 다음 hunk를 선택 |  | | ||||
| | `` v `` | 드래그 선택 전환 |  | | ||||
| | `` a `` | Toggle select hunk |  | | ||||
| | `` a `` | Toggle select hunk | Toggle hunk selection mode. | | ||||
| | `` <c-o> `` | 선택한 텍스트를 클립보드에 복사 |  | | ||||
| | `` o `` | 파일 닫기 |  | | ||||
| | `` e `` | 파일 편집 |  | | ||||
| | `` o `` | 파일 닫기 | Open file in default application. | | ||||
| | `` e `` | 파일 편집 | Open file in external editor. | | ||||
| | `` <space> `` | Line(s)을 패치에 추가/삭제 |  | | ||||
| | `` <esc> `` | Exit custom patch builder |  | | ||||
| | `` / `` | 검색 시작 |  | | ||||
| @@ -158,16 +159,16 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_ | ||||
| | `` <left> `` | 이전 hunk를 선택 |  | | ||||
| | `` <right> `` | 다음 hunk를 선택 |  | | ||||
| | `` v `` | 드래그 선택 전환 |  | | ||||
| | `` a `` | Toggle select hunk |  | | ||||
| | `` a `` | Toggle select hunk | Toggle hunk selection mode. | | ||||
| | `` <c-o> `` | 선택한 텍스트를 클립보드에 복사 |  | | ||||
| | `` o `` | 파일 닫기 |  | | ||||
| | `` e `` | 파일 편집 |  | | ||||
| | `` <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> `` | 패널 전환 |  | | ||||
| | `` <space> `` | 선택한 행을 staged / unstaged |  | | ||||
| | `` d `` | 변경을 삭제 (git reset) |  | | ||||
| | `` E `` | Edit hunk |  | | ||||
| | `` c `` | 커밋 변경내용 |  | | ||||
| | `` <tab> `` | 패널 전환 | Switch to other view (staged/unstaged changes). | | ||||
| | `` E `` | Edit hunk | Edit selected hunk in external editor. | | ||||
| | `` c `` | 커밋 변경내용 | Commit staged changes. | | ||||
| | `` w `` | Commit changes without pre-commit hook |  | | ||||
| | `` C `` | Git 편집기를 사용하여 변경 내용을 커밋합니다. |  | | ||||
| | `` / `` | 검색 시작 |  | | ||||
| @@ -178,32 +179,32 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_ | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | 브랜치명을 클립보드에 복사 |  | | ||||
| | `` i `` | Git-flow 옵션 보기 |  | | ||||
| | `` <space> `` | 체크아웃 |  | | ||||
| | `` <space> `` | 체크아웃 | Checkout selected item. | | ||||
| | `` n `` | 새 브랜치 생성 |  | | ||||
| | `` o `` | 풀 리퀘스트 생성 |  | | ||||
| | `` O `` | 풀 리퀘스트 생성 옵션 |  | | ||||
| | `` <c-y> `` | 풀 리퀘스트 URL을 클립보드에 복사 |  | | ||||
| | `` c `` | 이름으로 체크아웃 |  | | ||||
| | `` F `` | 강제 체크아웃 |  | | ||||
| | `` d `` | View delete options |  | | ||||
| | `` r `` | 체크아웃된 브랜치를 이 브랜치에 리베이스 |  | | ||||
| | `` M `` | 현재 브랜치에 병합 |  | | ||||
| | `` f `` | Fast-forward this branch from its upstream |  | | ||||
| | `` c `` | 이름으로 체크아웃 | Checkout by name. In the input box you can enter '-' to switch to the last branch. | | ||||
| | `` F `` | 강제 체크아웃 | Force checkout selected branch. This will discard all local changes in your working directory before checking out the selected branch. | | ||||
| | `` d `` | Delete | View delete options for local/remote branch. | | ||||
| | `` r `` | 체크아웃된 브랜치를 이 브랜치에 리베이스 | Rebase the checked-out branch onto the selected branch. | | ||||
| | `` M `` | 현재 브랜치에 병합 | Merge selected branch into currently checked out branch. | | ||||
| | `` 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 | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` u `` | View upstream options | View options relating to the branch's upstream e.g. setting/unsetting the upstream and resetting to the upstream. | | ||||
| | `` <enter> `` | 커밋 보기 |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## 상태 | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` o `` | 설정 파일 열기 |  | | ||||
| | `` e `` | 설정 파일 수정 |  | | ||||
| | `` o `` | 설정 파일 열기 | Open file in default application. | | ||||
| | `` e `` | 설정 파일 수정 | Open file in external editor. | | ||||
| | `` u `` | 업데이트 확인 |  | | ||||
| | `` <enter> `` | 최근에 사용한 저장소로 전환 |  | | ||||
| | `` a `` | 모든 브랜치 로그 표시 |  | | ||||
| @@ -213,13 +214,12 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_ | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | 서브모듈 이름을 클립보드에 복사 |  | | ||||
| | `` <enter> `` | 서브모듈 열기 |  | | ||||
| | `` <space> `` | 서브모듈 열기 |  | | ||||
| | `` d `` | 서브모듈 삭제 |  | | ||||
| | `` u `` | 서브모듈 업데이트 |  | | ||||
| | `` <enter> `` | Enter | 서브모듈 열기 | | ||||
| | `` d `` | Remove | Remove the selected submodule and its corresponding directory. | | ||||
| | `` u `` | Update | 서브모듈 업데이트 | | ||||
| | `` n `` | 새로운 서브모듈 추가 |  | | ||||
| | `` e `` | 서브모듈의 URL을 수정 |  | | ||||
| | `` i `` | 서브모듈 초기화 |  | | ||||
| | `` i `` | Initialize | 서브모듈 초기화 | | ||||
| | `` b `` | View bulk submodule options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| @@ -227,10 +227,11 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_ | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` f `` | 원격을 업데이트 |  | | ||||
| | `` <enter> `` | View branches |  | | ||||
| | `` n `` | 새로운 Remote 추가 |  | | ||||
| | `` d `` | Remote를 삭제 |  | | ||||
| | `` e `` | Remote를 수정 |  | | ||||
| | `` d `` | Remove | Remove the selected remote. Any local branches tracking a remote branch from the remote will be unaffected. | | ||||
| | `` e `` | Edit | Remote를 수정 | | ||||
| | `` f `` | Fetch | 원격을 업데이트 | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## 원격 브랜치 | ||||
| @@ -238,16 +239,16 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_ | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | 브랜치명을 클립보드에 복사 |  | | ||||
| | `` <space> `` | 체크아웃 |  | | ||||
| | `` <space> `` | 체크아웃 | Checkout a new local branch based on the selected remote branch. The new branch will track the remote branch. | | ||||
| | `` n `` | 새 브랜치 생성 |  | | ||||
| | `` M `` | 현재 브랜치에 병합 |  | | ||||
| | `` r `` | 체크아웃된 브랜치를 이 브랜치에 리베이스 |  | | ||||
| | `` d `` | Delete remote tag |  | | ||||
| | `` u `` | Set as upstream of checked-out branch |  | | ||||
| | `` M `` | 현재 브랜치에 병합 | Merge selected branch into currently checked out branch. | | ||||
| | `` r `` | 체크아웃된 브랜치를 이 브랜치에 리베이스 | Rebase the checked-out branch onto the selected branch. | | ||||
| | `` d `` | Delete | Delete the remote branch from the remote. | | ||||
| | `` u `` | Set as upstream | Set the selected remote branch as the upstream of the checked-out branch. | | ||||
| | `` s `` | Sort order |  | | ||||
| | `` g `` | View reset options |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` g `` | View reset options | View reset options (soft/mixed/hard) for resetting onto selected item. | | ||||
| | `` <enter> `` | 커밋 보기 |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## 커밋 | ||||
| @@ -257,51 +258,51 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_ | ||||
| | `` <c-o> `` | 커밋 SHA를 클립보드에 복사 |  | | ||||
| | `` <c-r> `` | Reset cherry-picked (copied) commits selection |  | | ||||
| | `` b `` | Bisect 옵션 보기 |  | | ||||
| | `` s `` | Squash down |  | | ||||
| | `` f `` | Fixup commit |  | | ||||
| | `` r `` | 커밋메시지 변경 |  | | ||||
| | `` s `` | Squash | Squash the selected commit into the commit below it. The selected commit's message will be appended to the commit below it. | | ||||
| | `` f `` | Fixup | Meld the selected commit into the commit below it. Similar to fixup, but the selected commit's message will be discarded. | | ||||
| | `` r `` | 커밋메시지 변경 | Reword the selected commit's message. | | ||||
| | `` R `` | 에디터에서 커밋메시지 수정 |  | | ||||
| | `` d `` | 커밋 삭제 |  | | ||||
| | `` e `` | 커밋을 편집 |  | | ||||
| | `` 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. | | ||||
| | `` e `` | Edit (start interactive rebase) | 커밋을 편집 | | ||||
| | `` i `` | Start interactive rebase | Start 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`. | | ||||
| | `` p `` | Pick commit (when mid-rebase) |  | | ||||
| | `` F `` | Create fixup commit for this commit |  | | ||||
| | `` S `` | Squash all 'fixup!' commits above selected commit (autosquash) |  | | ||||
| | `` p `` | Pick | Pick commit (when mid-rebase) | | ||||
| | `` F `` | Create fixup commit | Create fixup commit for this commit | | ||||
| | `` S `` | Apply fixup commits | Squash all 'fixup!' commits above selected commit (autosquash) | | ||||
| | `` <c-j> `` | 커밋을 1개 아래로 이동 |  | | ||||
| | `` <c-k> `` | 커밋을 1개 위로 이동 |  | | ||||
| | `` V `` | 커밋을 붙여넣기 (cherry-pick) |  | | ||||
| | `` B `` | Mark commit as base commit for rebase | Select a base commit for the next rebase; this will effectively perform a 'git rebase --onto'. | | ||||
| | `` A `` | Amend commit with staged changes |  | | ||||
| | `` a `` | Set/Reset commit author |  | | ||||
| | `` t `` | 커밋 되돌리기 |  | | ||||
| | `` T `` | Tag commit |  | | ||||
| | `` <c-l> `` | 로그 메뉴 열기 |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <space> `` | 커밋을 체크아웃 |  | | ||||
| | `` y `` | 커밋 attribute 복사 |  | | ||||
| | `` B `` | Mark as base commit for rebase | Select 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. | | ||||
| | `` A `` | Amend | Amend commit with staged changes | | ||||
| | `` a `` | Amend commit attribute | Set/Reset commit author or set co-author. | | ||||
| | `` t `` | Revert | Create a revert commit for the selected commit, which applies the selected commit's changes in reverse. | | ||||
| | `` T `` | Tag commit | Create 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. | | ||||
| | `` <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 `` | 커밋에서 새 브랜치를 만듭니다. |  | | ||||
| | `` g `` | View reset options |  | | ||||
| | `` C `` | 커밋을 복사 (cherry-pick) |  | | ||||
| | `` 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) |  | | ||||
| | `` <enter> `` | View selected item's files |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | 검색 시작 |  | | ||||
|  | ||||
| ## 커밋 파일 | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | 커밋한 파일명을 클립보드에 복사 |  | | ||||
| | `` c `` | Checkout file |  | | ||||
| | `` d `` | Discard this commit's changes to this file |  | | ||||
| | `` o `` | 파일 닫기 |  | | ||||
| | `` e `` | 파일 편집 |  | | ||||
| | `` <c-o> `` | 파일명을 클립보드에 복사 |  | | ||||
| | `` c `` | 체크아웃 | Checkout file | | ||||
| | `` d `` | Remove | Discard this commit's changes to this file | | ||||
| | `` o `` | 파일 닫기 | Open file in default application. | | ||||
| | `` e `` | Edit | Open file in external editor. | | ||||
| | `` <c-t> `` | Open external diff tool (git difftool) |  | | ||||
| | `` <space> `` | Toggle file included in patch |  | | ||||
| | `` a `` | Toggle all files included in patch |  | | ||||
| | `` <enter> `` | Enter file to add selected lines to the patch (or toggle directory collapsed) |  | | ||||
| | `` ` `` | 파일 트리뷰로 전환 |  | | ||||
| | `` <space> `` | Toggle file included in patch | Toggle whether the file is included in the custom patch. See https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches. | | ||||
| | `` a `` | Toggle all files included in patch | Add/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. | | ||||
| | `` / `` | 검색 시작 |  | | ||||
|  | ||||
| ## 커밋메시지 | ||||
| @@ -315,13 +316,13 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <space> `` | 체크아웃 |  | | ||||
| | `` d `` | View delete options |  | | ||||
| | `` P `` | 태그를 push |  | | ||||
| | `` n `` | 태그를 생성 |  | | ||||
| | `` g `` | View reset options |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <space> `` | 체크아웃 | Checkout the selected tag 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 `` | Delete | View delete options for local/remote tag. | | ||||
| | `` P `` | 태그를 push | Push the selected tag to a remote. You'll be prompted to select a remote. | | ||||
| | `` g `` | Reset | View reset options (soft/mixed/hard) for resetting onto selected item. | | ||||
| | `` <enter> `` | 커밋 보기 |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## 파일 | ||||
| @@ -329,29 +330,29 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | 파일명을 클립보드에 복사 |  | | ||||
| | `` <space> `` | Staged 전환 |  | | ||||
| | `` <space> `` | Staged 전환 | Toggle staged for selected file. | | ||||
| | `` <c-b> `` | 파일을 필터하기 (Staged/unstaged) |  | | ||||
| | `` y `` | Copy to clipboard |  | | ||||
| | `` c `` | 커밋 변경내용 |  | | ||||
| | `` c `` | 커밋 변경내용 | Commit staged changes. | | ||||
| | `` w `` | Commit changes without pre-commit hook |  | | ||||
| | `` A `` | 마지맛 커밋 수정 |  | | ||||
| | `` C `` | Git 편집기를 사용하여 변경 내용을 커밋합니다. |  | | ||||
| | `` <c-f> `` | Find base commit for fixup | Find 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> | | ||||
| | `` e `` | 파일 편집 |  | | ||||
| | `` o `` | 파일 닫기 |  | | ||||
| | `` e `` | Edit | Open file in external editor. | | ||||
| | `` o `` | 파일 닫기 | Open file in default application. | | ||||
| | `` i `` | Ignore file |  | | ||||
| | `` r `` | 파일 새로고침 |  | | ||||
| | `` s `` | 변경사항을 Stash |  | | ||||
| | `` S `` | Stash 옵션 보기 |  | | ||||
| | `` a `` | 모든 변경을 Staged/unstaged으로 전환 |  | | ||||
| | `` <enter> `` | Stage individual hunks/lines for file, or collapse/expand for directory |  | | ||||
| | `` d `` | View 'discard changes' options |  | | ||||
| | `` s `` | Stash | Stash all changes. For other variations of stashing, use the view stash options keybinding. | | ||||
| | `` S `` | Stash 옵션 보기 | 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 directory | If 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. | | ||||
| | `` d `` | View 'discard changes' options | View options for discarding changes to the selected file. | | ||||
| | `` g `` | View upstream reset options |  | | ||||
| | `` D `` | View reset options |  | | ||||
| | `` ` `` | 파일 트리뷰로 전환 |  | | ||||
| | `` D `` | Reset | 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. | | ||||
| | `` <c-t> `` | Open external diff tool (git difftool) |  | | ||||
| | `` M `` | Git mergetool를 열기 |  | | ||||
| | `` f `` | Fetch |  | | ||||
| | `` M `` | Git mergetool를 열기 | Run `git mergetool`. | | ||||
| | `` f `` | Fetch | Fetch changes from remote. | | ||||
| | `` / `` | 검색 시작 |  | | ||||
|  | ||||
| ## 확인 패널 | ||||
|   | ||||
| @@ -11,24 +11,26 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_ | ||||
| | `` <c-r> `` | Wissel naar een recente repo |  | | ||||
| | `` <pgup> (fn+up/shift+k) `` | Scroll naar beneden vanaf hoofdpaneel |  | | ||||
| | `` <pgdown> (fn+down/shift+j) `` | Scroll naar beneden vanaf hoofdpaneel |  | | ||||
| | `` @ `` | Open command log menu |  | | ||||
| | `` } `` | Increase the size of the context shown around changes in the diff view |  | | ||||
| | `` { `` | Decrease the size of the context shown around changes in the diff view |  | | ||||
| | `` : `` | Voer aangepaste commando uit |  | | ||||
| | `` @ `` | View command log options | View options for the command log e.g. show/hide the command log and focus the command log. | | ||||
| | `` P `` | Push | Push the current branch to its upstream branch. If no upstream is configured, you will be prompted to configure an upstream branch. | | ||||
| | `` p `` | Pull | Pull changes from the remote for the current branch. If no upstream is configured, you will be prompted to configure an upstream branch. | | ||||
| | `` } `` | Increase diff context size | Increase the amount of the context shown around changes in the diff view. | | ||||
| | `` { `` | Decrease diff context size | Decrease the amount of the context shown around changes in the diff view. | | ||||
| | `` : `` | Voer aangepaste commando uit | Bring up a prompt where you can enter a shell command to execute. Not to be confused with pre-configured custom commands. | | ||||
| | `` <c-p> `` | Bekijk aangepaste patch opties |  | | ||||
| | `` m `` | Bekijk merge/rebase opties |  | | ||||
| | `` R `` | Verversen |  | | ||||
| | `` m `` | Bekijk merge/rebase opties | View options to abort/continue/skip the current merge/rebase. | | ||||
| | `` R `` | Verversen | 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`. | | ||||
| | `` + `` | Volgende scherm modus (normaal/half/groot) |  | | ||||
| | `` _ `` | Vorige scherm modus |  | | ||||
| | `` ? `` | Open menu |  | | ||||
| | `` <c-s> `` | Bekijk scoping opties |  | | ||||
| | `` W `` | Open diff menu |  | | ||||
| | `` <c-e> `` | Open diff menu |  | | ||||
| | `` <c-w> `` | Toggle whether or not whitespace changes are shown in the diff view |  | | ||||
| | `` <c-s> `` | Bekijk scoping opties | View options for filtering the commit log by a file path, so that only commits relating to that path are shown. | | ||||
| | `` W `` | Open diff menu | 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> `` | Open diff menu | View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction. | | ||||
| | `` q `` | Quit |  | | ||||
| | `` <esc> `` | Annuleren |  | | ||||
| | `` <c-w> `` | Toggle whitespace | Toggle whether or not whitespace changes are shown in the diff view. | | ||||
| | `` z `` | Ongedaan maken (via reflog) (experimenteel) | 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. | | ||||
| | `` <c-z> `` | Redo (via reflog) (experimenteel) | 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. | | ||||
| | `` P `` | Push |  | | ||||
| | `` p `` | Pull |  | | ||||
|  | ||||
| ## Lijstpaneel navigatie | ||||
|  | ||||
| @@ -52,29 +54,29 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_ | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | Kopieer de bestandsnaam naar het klembord |  | | ||||
| | `` <space> `` | Toggle staged |  | | ||||
| | `` <space> `` | Toggle staged | Toggle staged for selected file. | | ||||
| | `` <c-b> `` | Filter files by status |  | | ||||
| | `` y `` | Copy to clipboard |  | | ||||
| | `` c `` | Commit veranderingen |  | | ||||
| | `` c `` | Commit veranderingen | Commit staged changes. | | ||||
| | `` w `` | Commit veranderingen zonder pre-commit hook |  | | ||||
| | `` A `` | Wijzig laatste commit |  | | ||||
| | `` C `` | Commit veranderingen met de git editor |  | | ||||
| | `` <c-f> `` | Find base commit for fixup | Find 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> | | ||||
| | `` e `` | Verander bestand |  | | ||||
| | `` o `` | Open bestand |  | | ||||
| | `` e `` | Edit | Open file in external editor. | | ||||
| | `` o `` | Open bestand | Open file in default application. | | ||||
| | `` i `` | Ignore or exclude file |  | | ||||
| | `` r `` | Refresh bestanden |  | | ||||
| | `` s `` | Stash-bestanden |  | | ||||
| | `` S `` | Bekijk stash opties |  | | ||||
| | `` a `` | Toggle staged alle |  | | ||||
| | `` <enter> `` | Stage individuele hunks/lijnen |  | | ||||
| | `` d `` | Bekijk 'veranderingen ongedaan maken' opties |  | | ||||
| | `` s `` | Stash | Stash all changes. For other variations of stashing, use the view stash options keybinding. | | ||||
| | `` S `` | Bekijk stash opties | View stash options (e.g. stash all, stash staged, stash unstaged). | | ||||
| | `` a `` | Toggle staged alle | Toggle staged/unstaged for all files in working tree. | | ||||
| | `` <enter> `` | Stage individuele hunks/lijnen | If 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. | | ||||
| | `` d `` | Bekijk 'veranderingen ongedaan maken' opties | View options for discarding changes to the selected file. | | ||||
| | `` g `` | Bekijk upstream reset opties |  | | ||||
| | `` D `` | Bekijk reset opties |  | | ||||
| | `` ` `` | Toggle bestandsboom weergave |  | | ||||
| | `` D `` | Reset | View reset options for working tree (e.g. nuking the working tree). | | ||||
| | `` ` `` | Toggle bestandsboom weergave | Toggle file view between flat and tree layout. Flat layout shows all file paths in a single list, tree layout groups files by directory. | | ||||
| | `` <c-t> `` | Open external diff tool (git difftool) |  | | ||||
| | `` M `` | Open external merge tool (git mergetool) |  | | ||||
| | `` f `` | Fetch |  | | ||||
| | `` M `` | Open external merge tool | Run `git mergetool`. | | ||||
| | `` f `` | Fetch | Fetch changes from remote. | | ||||
| | `` / `` | Start met zoeken |  | | ||||
|  | ||||
| ## Bevestigingspaneel | ||||
| @@ -90,24 +92,24 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_ | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | Kopieer branch name naar klembord |  | | ||||
| | `` i `` | Laat git-flow opties zien |  | | ||||
| | `` <space> `` | Uitchecken |  | | ||||
| | `` <space> `` | Uitchecken | Checkout selected item. | | ||||
| | `` n `` | Nieuwe branch |  | | ||||
| | `` o `` | Maak een pull-request |  | | ||||
| | `` O `` | Bekijk opties voor pull-aanvraag |  | | ||||
| | `` <c-y> `` | Kopieer de URL van het pull-verzoek naar het klembord |  | | ||||
| | `` c `` | Uitchecken bij naam |  | | ||||
| | `` F `` | Forceer checkout |  | | ||||
| | `` d `` | View delete options |  | | ||||
| | `` r `` | Rebase branch |  | | ||||
| | `` M `` | Merge in met huidige checked out branch |  | | ||||
| | `` f `` | Fast-forward deze branch vanaf zijn upstream |  | | ||||
| | `` c `` | Uitchecken bij naam | Checkout by name. In the input box you can enter '-' to switch to the last branch. | | ||||
| | `` F `` | Forceer checkout | Force checkout selected branch. This will discard all local changes in your working directory before checking out the selected branch. | | ||||
| | `` d `` | Delete | View delete options for local/remote branch. | | ||||
| | `` r `` | Rebase branch | Rebase the checked-out branch onto the selected branch. | | ||||
| | `` M `` | Merge in met huidige checked out branch | Merge selected branch into currently checked out branch. | | ||||
| | `` f `` | Fast-forward deze branch vanaf zijn upstream | Fast-forward selected branch from its upstream. | | ||||
| | `` T `` | Creëer tag |  | | ||||
| | `` s `` | Sort order |  | | ||||
| | `` g `` | Bekijk reset opties |  | | ||||
| | `` R `` | Hernoem branch |  | | ||||
| | `` u `` | View upstream options | View options relating to the branch's upstream e.g. setting/unsetting the upstream and resetting to the upstream | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` u `` | View upstream options | View options relating to the branch's upstream e.g. setting/unsetting the upstream and resetting to the upstream. | | ||||
| | `` <enter> `` | Bekijk commits |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## Commit bericht | ||||
| @@ -121,16 +123,16 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_ | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | Kopieer de vastgelegde bestandsnaam naar het klembord |  | | ||||
| | `` c `` | Bestand uitchecken |  | | ||||
| | `` d `` | Uitsluit deze commit zijn veranderingen aan dit bestand |  | | ||||
| | `` o `` | Open bestand |  | | ||||
| | `` e `` | Verander bestand |  | | ||||
| | `` <c-o> `` | Kopieer de bestandsnaam naar het klembord |  | | ||||
| | `` c `` | Uitchecken | Bestand uitchecken | | ||||
| | `` d `` | Remove | Uitsluit deze commit zijn veranderingen aan dit bestand | | ||||
| | `` o `` | Open bestand | Open file in default application. | | ||||
| | `` e `` | Edit | Open file in external editor. | | ||||
| | `` <c-t> `` | Open external diff tool (git difftool) |  | | ||||
| | `` <space> `` | Toggle bestand inbegrepen in patch |  | | ||||
| | `` a `` | Toggle all files included in patch |  | | ||||
| | `` <enter> `` | Enter bestand om geselecteerde regels toe te voegen aan de patch |  | | ||||
| | `` ` `` | Toggle bestandsboom weergave |  | | ||||
| | `` <space> `` | Toggle bestand inbegrepen in patch | Toggle whether the file is included in the custom patch. See https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches. | | ||||
| | `` a `` | Toggle all files | Add/remove all commit's files to custom patch. See https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches. | | ||||
| | `` <enter> `` | Enter bestand om geselecteerde regels toe te voegen aan de patch | 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 bestandsboom weergave | Toggle file view between flat and tree layout. Flat layout shows all file paths in a single list, tree layout groups files by directory. | | ||||
| | `` / `` | Start met zoeken |  | | ||||
|  | ||||
| ## Commits | ||||
| @@ -140,35 +142,35 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_ | ||||
| | `` <c-o> `` | Kopieer commit SHA naar klembord |  | | ||||
| | `` <c-r> `` | Reset cherry-picked (gekopieerde) commits selectie |  | | ||||
| | `` b `` | View bisect options |  | | ||||
| | `` s `` | Squash beneden |  | | ||||
| | `` f `` | Fixup commit |  | | ||||
| | `` r `` | Hernoem commit |  | | ||||
| | `` s `` | Squash | Squash the selected commit into the commit below it. The selected commit's message will be appended to the commit below it. | | ||||
| | `` f `` | Fixup | Meld the selected commit into the commit below it. Similar to fixup, but the selected commit's message will be discarded. | | ||||
| | `` r `` | Hernoem commit | Reword the selected commit's message. | | ||||
| | `` R `` | Hernoem commit met editor |  | | ||||
| | `` d `` | Verwijder commit |  | | ||||
| | `` e `` | Wijzig commit |  | | ||||
| | `` d `` | Verwijder commit | 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. | | ||||
| | `` e `` | Edit (start interactive rebase) | Wijzig commit | | ||||
| | `` i `` | Start interactive rebase | Start 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`. | | ||||
| | `` p `` | Kies commit (wanneer midden in rebase) |  | | ||||
| | `` F `` | Creëer fixup commit |  | | ||||
| | `` S `` | Squash bovenstaande commits |  | | ||||
| | `` p `` | Pick | Kies commit (wanneer midden in rebase) | | ||||
| | `` F `` | Create fixup commit | Creëer fixup commit | | ||||
| | `` S `` | Apply fixup commits | Squash bovenstaande commits | | ||||
| | `` <c-j> `` | Verplaats commit 1 naar beneden |  | | ||||
| | `` <c-k> `` | Verplaats commit 1 naar boven |  | | ||||
| | `` V `` | Plak commits (cherry-pick) |  | | ||||
| | `` B `` | Mark commit as base commit for rebase | Select a base commit for the next rebase; this will effectively perform a 'git rebase --onto'. | | ||||
| | `` A `` | Wijzig commit met staged veranderingen |  | | ||||
| | `` a `` | Set/Reset commit author |  | | ||||
| | `` t `` | Commit ongedaan maken |  | | ||||
| | `` T `` | Tag commit |  | | ||||
| | `` <c-l> `` | Open log menu |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <space> `` | Checkout commit |  | | ||||
| | `` y `` | Copy commit attribute |  | | ||||
| | `` B `` | Mark as base commit for rebase | Select 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. | | ||||
| | `` A `` | Amend | Wijzig commit met staged veranderingen | | ||||
| | `` a `` | Amend commit attribute | Set/Reset commit author or set co-author. | | ||||
| | `` t `` | Revert | Create a revert commit for the selected commit, which applies the selected commit's changes in reverse. | | ||||
| | `` T `` | Tag commit | Create a new tag pointing at the selected commit. You'll be prompted to enter a tag name and optional description. | | ||||
| | `` <c-l> `` | View log options | View options for commit log e.g. changing sort order, hiding the git graph, showing the whole git graph. | | ||||
| | `` <space> `` | Uitchecken | Checkout the selected commit as a detached HEAD. | | ||||
| | `` y `` | Copy commit attribute to clipboard | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | ||||
| | `` o `` | Open commit in browser |  | | ||||
| | `` n `` | Creëer nieuwe branch van commit |  | | ||||
| | `` g `` | Bekijk reset opties |  | | ||||
| | `` C `` | Kopieer commit (cherry-pick) |  | | ||||
| | `` g `` | Bekijk reset opties | View reset options (soft/mixed/hard) for resetting onto selected item. | | ||||
| | `` C `` | Kopieer commit (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) |  | | ||||
| | `` <enter> `` | Bekijk gecommite bestanden |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Start met zoeken |  | | ||||
|  | ||||
| ## Menu | ||||
| @@ -183,16 +185,16 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` e `` | Verander bestand |  | | ||||
| | `` o `` | Open bestand |  | | ||||
| | `` <left> `` | Selecteer voorgaand conflict |  | | ||||
| | `` <right> `` | Selecteer volgende conflict |  | | ||||
| | `` <up> `` | Selecteer bovenste hunk |  | | ||||
| | `` <down> `` | Selecteer onderste hunk |  | | ||||
| | `` z `` | Ongedaan maken |  | | ||||
| | `` M `` | Open external merge tool (git mergetool) |  | | ||||
| | `` <space> `` | Kies stuk |  | | ||||
| | `` b `` | Kies beide stukken |  | | ||||
| | `` <up> `` | Selecteer bovenste hunk |  | | ||||
| | `` <down> `` | Selecteer onderste hunk |  | | ||||
| | `` <left> `` | Selecteer voorgaand conflict |  | | ||||
| | `` <right> `` | Selecteer volgende conflict |  | | ||||
| | `` z `` | Ongedaan maken | Undo last merge conflict resolution. | | ||||
| | `` e `` | Verander bestand | Open file in external editor. | | ||||
| | `` o `` | Open bestand | Open file in default application. | | ||||
| | `` M `` | Open external merge tool | Run `git mergetool`. | | ||||
| | `` <esc> `` | Ga terug naar het bestanden paneel |  | | ||||
|  | ||||
| ## Normaal | ||||
| @@ -209,10 +211,10 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
| | `` <left> `` | Selecteer de vorige hunk |  | | ||||
| | `` <right> `` | Selecteer de volgende hunk |  | | ||||
| | `` v `` | Toggle drag selecteer |  | | ||||
| | `` a `` | Toggle selecteer hunk |  | | ||||
| | `` <c-o> `` | Copy the selected text to the clipboard |  | | ||||
| | `` o `` | Open bestand |  | | ||||
| | `` e `` | Verander bestand |  | | ||||
| | `` a `` | Toggle selecteer hunk | Toggle hunk selection mode. | | ||||
| | `` <c-o> `` | Copy selected text to clipboard |  | | ||||
| | `` o `` | Open bestand | Open file in default application. | | ||||
| | `` e `` | Verander bestand | Open file in external editor. | | ||||
| | `` <space> `` | Voeg toe/verwijder lijn(en) in patch |  | | ||||
| | `` <esc> `` | Sluit lijn-bij-lijn modus |  | | ||||
| | `` / `` | Start met zoeken |  | | ||||
| @@ -222,16 +224,16 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | Kopieer commit SHA naar klembord |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <space> `` | Checkout commit |  | | ||||
| | `` y `` | Copy commit attribute |  | | ||||
| | `` <space> `` | Uitchecken | Checkout the selected commit as a detached HEAD. | | ||||
| | `` y `` | Copy commit attribute to clipboard | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | ||||
| | `` o `` | Open commit in browser |  | | ||||
| | `` n `` | Creëer nieuwe branch van commit |  | | ||||
| | `` g `` | Bekijk reset opties |  | | ||||
| | `` C `` | Kopieer commit (cherry-pick) |  | | ||||
| | `` g `` | Bekijk reset opties | View reset options (soft/mixed/hard) for resetting onto selected item. | | ||||
| | `` C `` | Kopieer commit (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 (gekopieerde) commits selectie |  | | ||||
| | `` <c-t> `` | Open external diff tool (git difftool) |  | | ||||
| | `` <enter> `` | Bekijk commits |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## Remote branches | ||||
| @@ -239,26 +241,27 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | Kopieer branch name naar klembord |  | | ||||
| | `` <space> `` | Uitchecken |  | | ||||
| | `` <space> `` | Uitchecken | Checkout a new local branch based on the selected remote branch. The new branch will track the remote branch. | | ||||
| | `` n `` | Nieuwe branch |  | | ||||
| | `` M `` | Merge in met huidige checked out branch |  | | ||||
| | `` r `` | Rebase branch |  | | ||||
| | `` d `` | Delete remote tag |  | | ||||
| | `` u `` | Stel in als upstream van uitgecheckte branch |  | | ||||
| | `` M `` | Merge in met huidige checked out branch | Merge selected branch into currently checked out branch. | | ||||
| | `` r `` | Rebase branch | Rebase the checked-out branch onto the selected branch. | | ||||
| | `` d `` | Delete | Delete the remote branch from the remote. | | ||||
| | `` u `` | Set as upstream | Stel in als upstream van uitgecheckte branch | | ||||
| | `` s `` | Sort order |  | | ||||
| | `` g `` | Bekijk reset opties |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` g `` | Bekijk reset opties | View reset options (soft/mixed/hard) for resetting onto selected item. | | ||||
| | `` <enter> `` | Bekijk commits |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## Remotes | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` f `` | Fetch remote |  | | ||||
| | `` <enter> `` | View branches |  | | ||||
| | `` n `` | Voeg een nieuwe remote toe |  | | ||||
| | `` d `` | Verwijder remote |  | | ||||
| | `` e `` | Wijzig remote |  | | ||||
| | `` d `` | Remove | Remove the selected remote. Any local branches tracking a remote branch from the remote will be unaffected. | | ||||
| | `` e `` | Edit | Wijzig remote | | ||||
| | `` f `` | Fetch | Fetch remote | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## Staging | ||||
| @@ -268,16 +271,16 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
| | `` <left> `` | Selecteer de vorige hunk |  | | ||||
| | `` <right> `` | Selecteer de volgende hunk |  | | ||||
| | `` v `` | Toggle drag selecteer |  | | ||||
| | `` a `` | Toggle selecteer hunk |  | | ||||
| | `` <c-o> `` | Copy the selected text to the clipboard |  | | ||||
| | `` o `` | Open bestand |  | | ||||
| | `` e `` | Verander bestand |  | | ||||
| | `` a `` | Toggle selecteer hunk | Toggle hunk selection mode. | | ||||
| | `` <c-o> `` | Copy selected text to clipboard |  | | ||||
| | `` <space> `` | Toggle staged | Toggle lijnen staged / unstaged | | ||||
| | `` d `` | Verwijdert change (git reset) | When unstaged change is selected, discard the change using `git reset`. When staged change is selected, unstage the change. | | ||||
| | `` o `` | Open bestand | Open file in default application. | | ||||
| | `` e `` | Verander bestand | Open file in external editor. | | ||||
| | `` <esc> `` | Ga terug naar het bestanden paneel |  | | ||||
| | `` <tab> `` | Ga naar een ander paneel |  | | ||||
| | `` <space> `` | Toggle lijnen staged / unstaged |  | | ||||
| | `` d `` | Verwijdert change (git reset) |  | | ||||
| | `` E `` | Edit hunk |  | | ||||
| | `` c `` | Commit veranderingen |  | | ||||
| | `` <tab> `` | Ga naar een ander paneel | Switch to other view (staged/unstaged changes). | | ||||
| | `` E `` | Edit hunk | Edit selected hunk in external editor. | | ||||
| | `` c `` | Commit veranderingen | Commit staged changes. | | ||||
| | `` w `` | Commit veranderingen zonder pre-commit hook |  | | ||||
| | `` C `` | Commit veranderingen met de git editor |  | | ||||
| | `` / `` | Start met zoeken |  | | ||||
| @@ -286,21 +289,21 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <space> `` | Toepassen |  | | ||||
| | `` g `` | Pop |  | | ||||
| | `` d `` | Laten vallen |  | | ||||
| | `` n `` | Nieuwe branch |  | | ||||
| | `` <space> `` | Toepassen | Apply the stash entry to your working directory. | | ||||
| | `` g `` | Pop | Apply the stash entry to your working directory and remove the stash entry. | | ||||
| | `` d `` | Laten vallen | Remove the stash entry from the stash list. | | ||||
| | `` n `` | Nieuwe branch | 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. | | ||||
| | `` r `` | Rename stash |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <enter> `` | Bekijk gecommite bestanden |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## Status | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` o `` | Open config bestand |  | | ||||
| | `` e `` | Verander config bestand |  | | ||||
| | `` o `` | Open config bestand | Open file in default application. | | ||||
| | `` e `` | Verander config bestand | Open file in external editor. | | ||||
| | `` u `` | Check voor updates |  | | ||||
| | `` <enter> `` | Wissel naar een recente repo |  | | ||||
| | `` a `` | Alle logs van de branch laten zien |  | | ||||
| @@ -310,16 +313,16 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | Kopieer commit SHA naar klembord |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <space> `` | Checkout commit |  | | ||||
| | `` y `` | Copy commit attribute |  | | ||||
| | `` <space> `` | Uitchecken | Checkout the selected commit as a detached HEAD. | | ||||
| | `` y `` | Copy commit attribute to clipboard | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | ||||
| | `` o `` | Open commit in browser |  | | ||||
| | `` n `` | Creëer nieuwe branch van commit |  | | ||||
| | `` g `` | Bekijk reset opties |  | | ||||
| | `` C `` | Kopieer commit (cherry-pick) |  | | ||||
| | `` g `` | Bekijk reset opties | View reset options (soft/mixed/hard) for resetting onto selected item. | | ||||
| | `` C `` | Kopieer commit (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 (gekopieerde) commits selectie |  | | ||||
| | `` <c-t> `` | Open external diff tool (git difftool) |  | | ||||
| | `` <enter> `` | Bekijk gecommite bestanden |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Start met zoeken |  | | ||||
|  | ||||
| ## Submodules | ||||
| @@ -327,13 +330,12 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | Kopieer submodule naam naar klembord |  | | ||||
| | `` <enter> `` | Enter submodule |  | | ||||
| | `` <space> `` | Enter submodule |  | | ||||
| | `` d `` | Remove submodule |  | | ||||
| | `` u `` | Update submodule |  | | ||||
| | `` <enter> `` | Enter | Enter submodule | | ||||
| | `` d `` | Remove | Remove the selected submodule and its corresponding directory. | | ||||
| | `` u `` | Update | Update selected submodule. | | ||||
| | `` n `` | Voeg nieuwe submodule toe |  | | ||||
| | `` e `` | Update submodule URL |  | | ||||
| | `` i `` | Initialiseer submodule |  | | ||||
| | `` i `` | Initialize | Initialiseer submodule | | ||||
| | `` b `` | Bekijk bulk submodule opties |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| @@ -341,22 +343,21 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <space> `` | Uitchecken |  | | ||||
| | `` d `` | View delete options |  | | ||||
| | `` P `` | Push tag |  | | ||||
| | `` n `` | Creëer tag |  | | ||||
| | `` g `` | Bekijk reset opties |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <space> `` | Uitchecken | Checkout the selected tag tag as a detached HEAD. | | ||||
| | `` n `` | Creëer tag | Create new tag from current commit. You'll be prompted to enter a tag name and optional description. | | ||||
| | `` d `` | Delete | View delete options for local/remote tag. | | ||||
| | `` P `` | Push tag | Push the selected tag to a remote. You'll be prompted to select a remote. | | ||||
| | `` g `` | Reset | View reset options (soft/mixed/hard) for resetting onto selected item. | | ||||
| | `` <enter> `` | Bekijk commits |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## Worktrees | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` n `` | Create worktree |  | | ||||
| | `` <space> `` | Switch to worktree |  | | ||||
| | `` <enter> `` | Switch to worktree |  | | ||||
| | `` n `` | New worktree |  | | ||||
| | `` <space> `` | Switch | Switch to the selected worktree. | | ||||
| | `` o `` | Open in editor |  | | ||||
| | `` d `` | Remove worktree |  | | ||||
| | `` d `` | Remove | Remove 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 |  | | ||||
|   | ||||
| @@ -9,26 +9,28 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_ | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-r> `` | Switch to a recent repo |  | | ||||
| | `` <pgup> (fn+up/shift+k) `` | Scroll up main panel |  | | ||||
| | `` <pgdown> (fn+down/shift+j) `` | Scroll down main panel |  | | ||||
| | `` @ `` | Open command log menu |  | | ||||
| | `` } `` | Increase the size of the context shown around changes in the diff view |  | | ||||
| | `` { `` | Decrease the size of the context shown around changes in the diff view |  | | ||||
| | `` : `` | Wykonaj własną komendę |  | | ||||
| | `` <pgup> (fn+up/shift+k) `` | Scroll up main window |  | | ||||
| | `` <pgdown> (fn+down/shift+j) `` | Scroll down main window |  | | ||||
| | `` @ `` | View command log options | View options for the command log e.g. show/hide the command log and focus the command log. | | ||||
| | `` P `` | Push | Push the current branch to its upstream branch. If no upstream is configured, you will be prompted to configure an upstream branch. | | ||||
| | `` p `` | Pull | Pull changes from the remote for the current branch. If no upstream is configured, you will be prompted to configure an upstream branch. | | ||||
| | `` } `` | Increase diff context size | Increase the amount of the context shown around changes in the diff view. | | ||||
| | `` { `` | Decrease diff context size | Decrease the amount of the context shown around changes in the diff view. | | ||||
| | `` : `` | Wykonaj własną komendę | Bring up a prompt where you can enter a shell command to execute. Not to be confused with pre-configured custom commands. | | ||||
| | `` <c-p> `` | View custom patch options |  | | ||||
| | `` m `` | Widok scalenia/opcje zmiany bazy |  | | ||||
| | `` R `` | Odśwież |  | | ||||
| | `` m `` | Widok scalenia/opcje zmiany bazy | View options to abort/continue/skip the current merge/rebase. | | ||||
| | `` R `` | Odśwież | 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`. | | ||||
| | `` + `` | Next screen mode (normal/half/fullscreen) |  | | ||||
| | `` _ `` | Prev screen mode |  | | ||||
| | `` ? `` | Open menu |  | | ||||
| | `` <c-s> `` | View filter-by-path options |  | | ||||
| | `` W `` | Open diff menu |  | | ||||
| | `` <c-e> `` | Open diff menu |  | | ||||
| | `` <c-w> `` | Toggle whether or not whitespace changes are shown in the diff view |  | | ||||
| | `` ? `` | Open keybindings menu |  | | ||||
| | `` <c-s> `` | View filter-by-path options | View options for filtering the commit log by a file path, so that only commits relating to that path are shown. | | ||||
| | `` W `` | View diffing options | 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> `` | View diffing options | View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction. | | ||||
| | `` q `` | Quit |  | | ||||
| | `` <esc> `` | Anuluj |  | | ||||
| | `` <c-w> `` | Toggle whitespace | Toggle whether or not whitespace changes are shown in the diff view. | | ||||
| | `` z `` | Undo | 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. | | ||||
| | `` <c-z> `` | Redo | 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. | | ||||
| | `` P `` | Push |  | | ||||
| | `` p `` | Pull |  | | ||||
|  | ||||
| ## List panel navigation | ||||
|  | ||||
| @@ -59,37 +61,37 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_ | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | Copy commit SHA to clipboard |  | | ||||
| | `` <c-r> `` | Reset cherry-picked (copied) commits selection |  | | ||||
| | `` <c-r> `` | Reset copied (cherry-picked) commits selection |  | | ||||
| | `` b `` | View bisect options |  | | ||||
| | `` s `` | Ściśnij |  | | ||||
| | `` f `` | Napraw commit |  | | ||||
| | `` r `` | Zmień nazwę commita |  | | ||||
| | `` s `` | Spłaszcz | Squash the selected commit into the commit below it. The selected commit's message will be appended to the commit below it. | | ||||
| | `` f `` | Napraw | Meld the selected commit into the commit below it. Similar to fixup, but the selected commit's message will be discarded. | | ||||
| | `` r `` | Zmień nazwę commita | Reword the selected commit's message. | | ||||
| | `` R `` | Zmień nazwę commita w edytorze |  | | ||||
| | `` d `` | Usuń commit |  | | ||||
| | `` e `` | Edytuj commit |  | | ||||
| | `` d `` | Usuń commit | 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. | | ||||
| | `` e `` | Edit (start interactive rebase) | Edytuj commit | | ||||
| | `` i `` | Start interactive rebase | Start 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`. | | ||||
| | `` p `` | Wybierz commit (podczas zmiany bazy) |  | | ||||
| | `` F `` | Utwórz commit naprawczy dla tego commita |  | | ||||
| | `` S `` | Spłaszcz wszystkie commity naprawcze powyżej zaznaczonych commitów (autosquash) |  | | ||||
| | `` p `` | Pick | Wybierz commit (podczas zmiany bazy) | | ||||
| | `` F `` | Create fixup commit | Utwórz commit naprawczy dla tego commita | | ||||
| | `` S `` | Apply fixup commits | Spłaszcz wszystkie commity naprawcze powyżej zaznaczonych commitów (autosquash) | | ||||
| | `` <c-j> `` | Przenieś commit 1 w dół |  | | ||||
| | `` <c-k> `` | Przenieś commit 1 w górę |  | | ||||
| | `` V `` | Wklej commity (przebieranie) |  | | ||||
| | `` B `` | Mark commit as base commit for rebase | Select a base commit for the next rebase; this will effectively perform a 'git rebase --onto'. | | ||||
| | `` A `` | Popraw commit zmianami z poczekalni |  | | ||||
| | `` a `` | Set/Reset commit author |  | | ||||
| | `` t `` | Odwróć commit |  | | ||||
| | `` T `` | Tag commit |  | | ||||
| | `` <c-l> `` | Open log menu |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <space> `` | Checkout commit |  | | ||||
| | `` y `` | Copy commit attribute |  | | ||||
| | `` B `` | Mark as base commit for rebase | Select 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. | | ||||
| | `` A `` | Amend | Popraw commit zmianami z poczekalni | | ||||
| | `` a `` | Amend commit attribute | Set/Reset commit author or set co-author. | | ||||
| | `` t `` | Revert | Create a revert commit for the selected commit, which applies the selected commit's changes in reverse. | | ||||
| | `` T `` | Tag commit | Create a new tag pointing at the selected commit. You'll be prompted to enter a tag name and optional description. | | ||||
| | `` <c-l> `` | View log options | View options for commit log e.g. changing sort order, hiding the git graph, showing the whole git graph. | | ||||
| | `` <space> `` | Przełącz | Checkout the selected commit as a detached HEAD. | | ||||
| | `` y `` | Copy commit attribute to clipboard | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | ||||
| | `` o `` | Open commit in browser |  | | ||||
| | `` n `` | Create new branch off of commit |  | | ||||
| | `` g `` | Wyświetl opcje resetu |  | | ||||
| | `` C `` | Kopiuj commit (przebieranie) |  | | ||||
| | `` g `` | Wyświetl opcje resetu | View reset options (soft/mixed/hard) for resetting onto selected item. | | ||||
| | `` C `` | Kopiuj commit (przebieranie) | 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) |  | | ||||
| | `` <enter> `` | Przeglądaj pliki commita |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Search the current view by text |  | | ||||
|  | ||||
| ## Confirmation panel | ||||
| @@ -105,24 +107,24 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | Copy branch name to clipboard |  | | ||||
| | `` i `` | Show git-flow options |  | | ||||
| | `` <space> `` | Przełącz |  | | ||||
| | `` <space> `` | Przełącz | Checkout selected item. | | ||||
| | `` n `` | Nowa gałąź |  | | ||||
| | `` o `` | Utwórz żądanie pobrania |  | | ||||
| | `` O `` | Utwórz opcje żądania ściągnięcia |  | | ||||
| | `` <c-y> `` | Skopiuj adres URL żądania pobrania do schowka |  | | ||||
| | `` c `` | Przełącz używając nazwy |  | | ||||
| | `` F `` | Wymuś przełączenie |  | | ||||
| | `` d `` | View delete options |  | | ||||
| | `` r `` | Zmiana bazy gałęzi |  | | ||||
| | `` M `` | Scal do obecnej gałęzi |  | | ||||
| | `` f `` | Fast-forward this branch from its upstream |  | | ||||
| | `` T `` | Create tag |  | | ||||
| | `` c `` | Przełącz używając nazwy | Checkout by name. In the input box you can enter '-' to switch to the last branch. | | ||||
| | `` F `` | Wymuś przełączenie | Force checkout selected branch. This will discard all local changes in your working directory before checking out the selected branch. | | ||||
| | `` d `` | Delete | View delete options for local/remote branch. | | ||||
| | `` r `` | Zmiana bazy gałęzi | Rebase the checked-out branch onto the selected branch. | | ||||
| | `` M `` | Scal do obecnej gałęzi | Merge selected branch into currently checked out branch. | | ||||
| | `` f `` | Fast-forward | Fast-forward selected branch from its upstream. | | ||||
| | `` T `` | New tag |  | | ||||
| | `` s `` | Sort order |  | | ||||
| | `` g `` | Wyświetl opcje resetu |  | | ||||
| | `` R `` | Rename branch |  | | ||||
| | `` u `` | View upstream options | View options relating to the branch's upstream e.g. setting/unsetting the upstream and resetting to the upstream | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` u `` | View upstream options | View options relating to the branch's upstream e.g. setting/unsetting the upstream and resetting to the upstream. | | ||||
| | `` <enter> `` | View commits |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## Main panel (patch building) | ||||
| @@ -132,11 +134,11 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
| | `` <left> `` | Poprzedni kawałek |  | | ||||
| | `` <right> `` | Następny kawałek |  | | ||||
| | `` v `` | Toggle range select |  | | ||||
| | `` a `` | Toggle select hunk |  | | ||||
| | `` <c-o> `` | Copy the selected text to the clipboard |  | | ||||
| | `` o `` | Otwórz plik |  | | ||||
| | `` e `` | Edytuj plik |  | | ||||
| | `` <space> `` | Add/Remove line(s) to patch |  | | ||||
| | `` a `` | Select hunk | Toggle hunk selection mode. | | ||||
| | `` <c-o> `` | Copy selected text to clipboard |  | | ||||
| | `` o `` | Otwórz plik | Open file in default application. | | ||||
| | `` e `` | Edytuj plik | Open file in external editor. | | ||||
| | `` <space> `` | Toggle lines in patch |  | | ||||
| | `` <esc> `` | Wyście z trybu "linia po linii" |  | | ||||
| | `` / `` | Search the current view by text |  | | ||||
|  | ||||
| @@ -152,46 +154,46 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | Copy the file name to the clipboard |  | | ||||
| | `` <space> `` | Przełącz stan poczekalni |  | | ||||
| | `` <c-o> `` | Copy path to clipboard |  | | ||||
| | `` <space> `` | Przełącz stan poczekalni | Toggle staged for selected file. | | ||||
| | `` <c-b> `` | Filter files by status |  | | ||||
| | `` y `` | Copy to clipboard |  | | ||||
| | `` c `` | Zatwierdź zmiany |  | | ||||
| | `` c `` | Zatwierdź zmiany | Commit staged changes. | | ||||
| | `` w `` | Zatwierdź zmiany bez skryptu pre-commit |  | | ||||
| | `` A `` | Zmień ostatni commit |  | | ||||
| | `` C `` | Zatwierdź zmiany używając edytora |  | | ||||
| | `` <c-f> `` | Find base commit for fixup | Find 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> | | ||||
| | `` e `` | Edytuj plik |  | | ||||
| | `` o `` | Otwórz plik |  | | ||||
| | `` e `` | Edit | Open file in external editor. | | ||||
| | `` o `` | Otwórz plik | Open file in default application. | | ||||
| | `` i `` | Ignore or exclude file |  | | ||||
| | `` r `` | Odśwież pliki |  | | ||||
| | `` s `` | Przechowaj zmiany |  | | ||||
| | `` S `` | Wyświetl opcje schowka |  | | ||||
| | `` a `` | Przełącz stan poczekalni wszystkich |  | | ||||
| | `` <enter> `` | Zatwierdź pojedyncze linie |  | | ||||
| | `` d `` | Pokaż opcje porzucania zmian |  | | ||||
| | `` s `` | Stash | Stash all changes. For other variations of stashing, use the view stash options keybinding. | | ||||
| | `` S `` | Wyświetl opcje schowka | View stash options (e.g. stash all, stash staged, stash unstaged). | | ||||
| | `` a `` | Przełącz stan poczekalni wszystkich | Toggle staged/unstaged for all files in working tree. | | ||||
| | `` <enter> `` | Zatwierdź pojedyncze linie | If 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. | | ||||
| | `` d `` | Pokaż opcje porzucania zmian | View options for discarding changes to the selected file. | | ||||
| | `` g `` | View upstream reset options |  | | ||||
| | `` D `` | Wyświetl opcje resetu |  | | ||||
| | `` ` `` | Toggle file tree view |  | | ||||
| | `` D `` | Reset | View reset options for working tree (e.g. nuking the working tree). | | ||||
| | `` ` `` | Toggle file tree view | Toggle file view between flat and tree layout. Flat layout shows all file paths in a single list, tree layout groups files by directory. | | ||||
| | `` <c-t> `` | Open external diff tool (git difftool) |  | | ||||
| | `` M `` | Open external merge tool (git mergetool) |  | | ||||
| | `` f `` | Pobierz |  | | ||||
| | `` M `` | Open external merge tool | Run `git mergetool`. | | ||||
| | `` f `` | Pobierz | Fetch changes from remote. | | ||||
| | `` / `` | Search the current view by text |  | | ||||
|  | ||||
| ## Pliki commita | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | Copy the committed file name to the clipboard |  | | ||||
| | `` c `` | Plik wybierania |  | | ||||
| | `` d `` | Porzuć zmiany commita dla tego pliku |  | | ||||
| | `` o `` | Otwórz plik |  | | ||||
| | `` e `` | Edytuj plik |  | | ||||
| | `` <c-o> `` | Copy path to clipboard |  | | ||||
| | `` c `` | Przełącz | Plik wybierania | | ||||
| | `` d `` | Remove | Porzuć zmiany commita dla tego pliku | | ||||
| | `` o `` | Otwórz plik | Open file in default application. | | ||||
| | `` e `` | Edit | Open file in external editor. | | ||||
| | `` <c-t> `` | Open external diff tool (git difftool) |  | | ||||
| | `` <space> `` | Toggle file included in patch |  | | ||||
| | `` a `` | Toggle all files included in patch |  | | ||||
| | `` <enter> `` | Enter file to add selected lines to the patch (or toggle directory collapsed) |  | | ||||
| | `` ` `` | Toggle file tree view |  | | ||||
| | `` <space> `` | Toggle file included in patch | Toggle whether the file is included in the custom patch. See https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches. | | ||||
| | `` a `` | Toggle all files | Add/remove all commit's files to custom patch. See https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches. | | ||||
| | `` <enter> `` | Enter file / 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 tree view | Toggle file view between flat and tree layout. Flat layout shows all file paths in a single list, tree layout groups files by directory. | | ||||
| | `` / `` | Search the current view by text |  | | ||||
|  | ||||
| ## Poczekalnia | ||||
| @@ -201,16 +203,16 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
| | `` <left> `` | Poprzedni kawałek |  | | ||||
| | `` <right> `` | Następny kawałek |  | | ||||
| | `` v `` | Toggle range select |  | | ||||
| | `` a `` | Toggle select hunk |  | | ||||
| | `` <c-o> `` | Copy the selected text to the clipboard |  | | ||||
| | `` o `` | Otwórz plik |  | | ||||
| | `` e `` | Edytuj plik |  | | ||||
| | `` a `` | Select hunk | Toggle hunk selection mode. | | ||||
| | `` <c-o> `` | Copy selected text to clipboard |  | | ||||
| | `` <space> `` | Przełącz stan poczekalni | Toggle selection staged / unstaged. | | ||||
| | `` d `` | Discard | When unstaged change is selected, discard the change using `git reset`. When staged change is selected, unstage the change. | | ||||
| | `` o `` | Otwórz plik | Open file in default application. | | ||||
| | `` e `` | Edytuj plik | Open file in external editor. | | ||||
| | `` <esc> `` | Wróć do panelu plików |  | | ||||
| | `` <tab> `` | Switch to other panel (staged/unstaged changes) |  | | ||||
| | `` <space> `` | Toggle line staged / unstaged |  | | ||||
| | `` d `` | Discard change (git reset) |  | | ||||
| | `` E `` | Edit hunk |  | | ||||
| | `` c `` | Zatwierdź zmiany |  | | ||||
| | `` <tab> `` | Switch view | Switch to other view (staged/unstaged changes). | | ||||
| | `` E `` | Edit hunk | Edit selected hunk in external editor. | | ||||
| | `` c `` | Zatwierdź zmiany | Commit staged changes. | | ||||
| | `` w `` | Zatwierdź zmiany bez skryptu pre-commit |  | | ||||
| | `` C `` | Zatwierdź zmiany używając edytora |  | | ||||
| | `` / `` | Search the current view by text |  | | ||||
| @@ -220,16 +222,16 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | Copy commit SHA to clipboard |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <space> `` | Checkout commit |  | | ||||
| | `` y `` | Copy commit attribute |  | | ||||
| | `` <space> `` | Przełącz | Checkout the selected commit as a detached HEAD. | | ||||
| | `` y `` | Copy commit attribute to clipboard | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | ||||
| | `` o `` | Open commit in browser |  | | ||||
| | `` n `` | Create new branch off of commit |  | | ||||
| | `` g `` | Wyświetl opcje resetu |  | | ||||
| | `` C `` | Kopiuj commit (przebieranie) |  | | ||||
| | `` <c-r> `` | Reset cherry-picked (copied) commits selection |  | | ||||
| | `` g `` | Wyświetl opcje resetu | View reset options (soft/mixed/hard) for resetting onto selected item. | | ||||
| | `` C `` | Kopiuj commit (przebieranie) | 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 copied (cherry-picked) commits selection |  | | ||||
| | `` <c-t> `` | Open external diff tool (git difftool) |  | | ||||
| | `` <enter> `` | View commits |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## Remote branches | ||||
| @@ -237,63 +239,64 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | Copy branch name to clipboard |  | | ||||
| | `` <space> `` | Przełącz |  | | ||||
| | `` <space> `` | Przełącz | Checkout a new local branch based on the selected remote branch. The new branch will track the remote branch. | | ||||
| | `` n `` | Nowa gałąź |  | | ||||
| | `` M `` | Scal do obecnej gałęzi |  | | ||||
| | `` r `` | Zmiana bazy gałęzi |  | | ||||
| | `` d `` | Delete remote tag |  | | ||||
| | `` u `` | Set as upstream of checked-out branch |  | | ||||
| | `` M `` | Scal do obecnej gałęzi | Merge selected branch into currently checked out branch. | | ||||
| | `` r `` | Zmiana bazy gałęzi | Rebase the checked-out branch onto the selected branch. | | ||||
| | `` d `` | Delete | Delete the remote branch from the remote. | | ||||
| | `` u `` | Set as upstream | Set the selected remote branch as the upstream of the checked-out branch. | | ||||
| | `` s `` | Sort order |  | | ||||
| | `` g `` | Wyświetl opcje resetu |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` g `` | Wyświetl opcje resetu | View reset options (soft/mixed/hard) for resetting onto selected item. | | ||||
| | `` <enter> `` | View commits |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## Remotes | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` f `` | Fetch remote |  | | ||||
| | `` n `` | Add new remote |  | | ||||
| | `` d `` | Remove remote |  | | ||||
| | `` e `` | Edit remote |  | | ||||
| | `` <enter> `` | View branches |  | | ||||
| | `` n `` | New remote |  | | ||||
| | `` d `` | Remove | Remove the selected remote. Any local branches tracking a remote branch from the remote will be unaffected. | | ||||
| | `` e `` | Edit | Edit the selected remote's name or URL. | | ||||
| | `` f `` | Pobierz | Fetch updates from the remote repository. This retrieves new commits and branches without merging them into your local branches. | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## Scalanie | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` e `` | Edytuj plik |  | | ||||
| | `` o `` | Otwórz plik |  | | ||||
| | `` <left> `` | Poprzedni konflikt |  | | ||||
| | `` <right> `` | Następny konflikt |  | | ||||
| | `` <up> `` | Wybierz poprzedni kawałek |  | | ||||
| | `` <down> `` | Wybierz następny kawałek |  | | ||||
| | `` z `` | Cofnij |  | | ||||
| | `` M `` | Open external merge tool (git mergetool) |  | | ||||
| | `` <space> `` | Wybierz kawałek |  | | ||||
| | `` b `` | Wybierz oba kawałki |  | | ||||
| | `` <up> `` | Wybierz poprzedni kawałek |  | | ||||
| | `` <down> `` | Wybierz następny kawałek |  | | ||||
| | `` <left> `` | Poprzedni konflikt |  | | ||||
| | `` <right> `` | Następny konflikt |  | | ||||
| | `` z `` | Cofnij | Undo last merge conflict resolution. | | ||||
| | `` e `` | Edytuj plik | Open file in external editor. | | ||||
| | `` o `` | Otwórz plik | Open file in default application. | | ||||
| | `` M `` | Open external merge tool | Run `git mergetool`. | | ||||
| | `` <esc> `` | Wróć do panelu plików |  | | ||||
|  | ||||
| ## Schowek | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <space> `` | Zastosuj |  | | ||||
| | `` g `` | Wyciągnij |  | | ||||
| | `` d `` | Porzuć |  | | ||||
| | `` n `` | Nowa gałąź |  | | ||||
| | `` <space> `` | Zastosuj | Apply the stash entry to your working directory. | | ||||
| | `` g `` | Wyciągnij | Apply the stash entry to your working directory and remove the stash entry. | | ||||
| | `` d `` | Porzuć | Remove the stash entry from the stash list. | | ||||
| | `` n `` | Nowa gałąź | 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. | | ||||
| | `` r `` | Rename stash |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <enter> `` | Przeglądaj pliki commita |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## Status | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` o `` | Otwórz konfigurację |  | | ||||
| | `` e `` | Edytuj konfigurację |  | | ||||
| | `` o `` | Otwórz konfigurację | Open file in default application. | | ||||
| | `` e `` | Edytuj konfigurację | Open file in external editor. | | ||||
| | `` u `` | Sprawdź aktualizacje |  | | ||||
| | `` <enter> `` | Switch to a recent repo |  | | ||||
| | `` a `` | Pokaż wszystkie logi gałęzi |  | | ||||
| @@ -303,16 +306,16 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | Copy commit SHA to clipboard |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <space> `` | Checkout commit |  | | ||||
| | `` y `` | Copy commit attribute |  | | ||||
| | `` <space> `` | Przełącz | Checkout the selected commit as a detached HEAD. | | ||||
| | `` y `` | Copy commit attribute to clipboard | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | ||||
| | `` o `` | Open commit in browser |  | | ||||
| | `` n `` | Create new branch off of commit |  | | ||||
| | `` g `` | Wyświetl opcje resetu |  | | ||||
| | `` C `` | Kopiuj commit (przebieranie) |  | | ||||
| | `` <c-r> `` | Reset cherry-picked (copied) commits selection |  | | ||||
| | `` g `` | Wyświetl opcje resetu | View reset options (soft/mixed/hard) for resetting onto selected item. | | ||||
| | `` C `` | Kopiuj commit (przebieranie) | 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 copied (cherry-picked) commits selection |  | | ||||
| | `` <c-t> `` | Open external diff tool (git difftool) |  | | ||||
| | `` <enter> `` | Przeglądaj pliki commita |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Search the current view by text |  | | ||||
|  | ||||
| ## Submodules | ||||
| @@ -320,13 +323,12 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | Copy submodule name to clipboard |  | | ||||
| | `` <enter> `` | Enter submodule |  | | ||||
| | `` <space> `` | Enter submodule |  | | ||||
| | `` d `` | Remove submodule |  | | ||||
| | `` u `` | Update submodule |  | | ||||
| | `` n `` | Add new submodule |  | | ||||
| | `` <enter> `` | Enter | Enter submodule. After entering the submodule, you can press `<esc>` to escape back to the parent repo. | | ||||
| | `` d `` | Remove | Remove the selected submodule and its corresponding directory. | | ||||
| | `` u `` | Update | Update selected submodule. | | ||||
| | `` n `` | New submodule |  | | ||||
| | `` e `` | Update submodule URL |  | | ||||
| | `` i `` | Initialize submodule |  | | ||||
| | `` i `` | Initialize | Initialize the selected submodule to prepare for fetching. You probably want to follow this up by invoking the 'update' action to fetch the submodule. | | ||||
| | `` b `` | View bulk submodule options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| @@ -334,24 +336,23 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <space> `` | Przełącz |  | | ||||
| | `` d `` | View delete options |  | | ||||
| | `` P `` | Push tag |  | | ||||
| | `` n `` | Create tag |  | | ||||
| | `` g `` | Wyświetl opcje resetu |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <space> `` | Przełącz | Checkout the selected tag tag as a detached HEAD. | | ||||
| | `` n `` | New tag | Create new tag from current commit. You'll be prompted to enter a tag name and optional description. | | ||||
| | `` d `` | Delete | View delete options for local/remote tag. | | ||||
| | `` P `` | Push tag | Push the selected tag to a remote. You'll be prompted to select a remote. | | ||||
| | `` g `` | Reset | View reset options (soft/mixed/hard) for resetting onto selected item. | | ||||
| | `` <enter> `` | View commits |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## Worktrees | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` n `` | Create worktree |  | | ||||
| | `` <space> `` | Switch to worktree |  | | ||||
| | `` <enter> `` | Switch to worktree |  | | ||||
| | `` n `` | New worktree |  | | ||||
| | `` <space> `` | Switch | Switch to the selected worktree. | | ||||
| | `` o `` | Open in editor |  | | ||||
| | `` d `` | Remove worktree |  | | ||||
| | `` d `` | Remove | Remove 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 |  | | ||||
|  | ||||
| ## Zwykłe | ||||
|   | ||||
| @@ -11,24 +11,26 @@ _Связки клавиш_ | ||||
| | `` <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 the amount of the context shown around changes in the diff view. | | ||||
| | `` { `` | Уменьшите размер контекста, отображаемого вокруг изменений в просмотрщике сравнении | Decrease the amount of the context shown around changes in the diff view. | | ||||
| | `` : `` | Выполнить пользовательскую команду | Bring up a prompt where you can enter a shell command to execute. Not to be confused with pre-configured custom commands. | | ||||
| | `` <c-p> `` | Просмотреть пользовательские параметры патча |  | | ||||
| | `` m `` | Просмотреть параметры слияния/перебазирования |  | | ||||
| | `` R `` | Обновить |  | | ||||
| | `` m `` | Просмотреть параметры слияния/перебазирования | 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`. | | ||||
| | `` + `` | Следующий режим экрана (нормальный/полуэкранный/полноэкранный) |  | | ||||
| | `` _ `` | Предыдущий режим экрана |  | | ||||
| | `` ? `` | Открыть меню |  | | ||||
| | `` <c-s> `` | Просмотреть параметры фильтрации по пути |  | | ||||
| | `` W `` | Открыть меню сравнении |  | | ||||
| | `` <c-e> `` | Открыть меню сравнении |  | | ||||
| | `` <c-w> `` | Переключить отображение изменении пробелов в просмотрщике сравнении |  | | ||||
| | `` <c-s> `` | Просмотреть параметры фильтрации по пути | View options for filtering the commit log by a file path, so that only commits relating to that path are shown. | | ||||
| | `` W `` | Открыть меню сравнении | 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> `` | Открыть меню сравнении | View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction. | | ||||
| | `` q `` | Выйти |  | | ||||
| | `` <esc> `` | Отменить |  | | ||||
| | `` <c-w> `` | Переключить отображение изменении пробелов в просмотрщике сравнении | Toggle whether or not whitespace changes are shown in the diff view. | | ||||
| | `` z `` | Отменить (через reflog) (экспериментальный) | Журнал ссылок (reflog) будет использоваться для определения того, какую команду git запустить, чтобы отменить последнюю команду git. Сюда не входят изменения в рабочем дереве; учитываются только коммиты. | | ||||
| | `` <c-z> `` | Повторить (через reflog) (экспериментальный) | Журнал ссылок (reflog) будет использоваться для определения того, какую команду git нужно запустить, чтобы повторить последнюю команду git. Сюда не входят изменения в рабочем дереве; учитываются только коммиты. | | ||||
| | `` P `` | Отправить изменения |  | | ||||
| | `` p `` | Получить и слить изменения |  | | ||||
|  | ||||
| ## Навигация по панели списка | ||||
|  | ||||
| @@ -51,11 +53,10 @@ _Связки клавиш_ | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` n `` | Create worktree |  | | ||||
| | `` <space> `` | Switch to worktree |  | | ||||
| | `` <enter> `` | Switch to worktree |  | | ||||
| | `` n `` | New worktree |  | | ||||
| | `` <space> `` | Switch | Switch to the selected worktree. | | ||||
| | `` o `` | Open in editor |  | | ||||
| | `` d `` | Remove worktree |  | | ||||
| | `` d `` | Remove | Remove 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 |  | | ||||
|  | ||||
| ## Главная панель (Индексирование) | ||||
| @@ -65,16 +66,16 @@ _Связки клавиш_ | ||||
| | `` <left> `` | Выбрать предыдущую часть |  | | ||||
| | `` <right> `` | Выбрать следующую часть |  | | ||||
| | `` v `` | Переключить выборку перетаскивания |  | | ||||
| | `` a `` | Переключить выборку частей |  | | ||||
| | `` a `` | Переключить выборку частей | Toggle hunk selection mode. | | ||||
| | `` <c-o> `` | Скопировать выделенный текст в буфер обмена |  | | ||||
| | `` o `` | Открыть файл |  | | ||||
| | `` e `` | Редактировать файл |  | | ||||
| | `` <space> `` | Переключить индекс | Переключить строку в проиндексированные / непроиндексированные | | ||||
| | `` 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> `` | Переключиться на другую панель (проиндексированные/непроиндексированные изменения) |  | | ||||
| | `` <space> `` | Переключить строку в проиндексированные / непроиндексированные |  | | ||||
| | `` d `` | Отменить изменение (git reset) |  | | ||||
| | `` E `` | Изменить эту часть |  | | ||||
| | `` c `` | Сохранить изменения |  | | ||||
| | `` <tab> `` | Переключиться на другую панель (проиндексированные/непроиндексированные изменения) | Switch to other view (staged/unstaged changes). | | ||||
| | `` E `` | Изменить эту часть | Edit selected hunk in external editor. | | ||||
| | `` c `` | Сохранить изменения | Commit staged changes. | | ||||
| | `` w `` | Закоммитить изменения без предварительного хука коммита |  | | ||||
| | `` C `` | Сохранить изменения с помощью редактора git |  | | ||||
| | `` / `` | Найти |  | | ||||
| @@ -90,16 +91,16 @@ _Связки клавиш_ | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` e `` | Редактировать файл |  | | ||||
| | `` o `` | Открыть файл |  | | ||||
| | `` <left> `` | Выбрать предыдущий конфликт |  | | ||||
| | `` <right> `` | Выбрать следующий конфликт |  | | ||||
| | `` <up> `` | Выбрать предыдущую часть |  | | ||||
| | `` <down> `` | Выбрать следующую часть |  | | ||||
| | `` z `` | Отменить |  | | ||||
| | `` M `` | Открыть внешний инструмент слияния (git mergetool) |  | | ||||
| | `` <space> `` | Выбрать эту часть |  | | ||||
| | `` b `` | Выбрать все части |  | | ||||
| | `` <up> `` | Выбрать предыдущую часть |  | | ||||
| | `` <down> `` | Выбрать следующую часть |  | | ||||
| | `` <left> `` | Выбрать предыдущий конфликт |  | | ||||
| | `` <right> `` | Выбрать следующий конфликт |  | | ||||
| | `` z `` | Отменить | Undo last merge conflict resolution. | | ||||
| | `` e `` | Редактировать файл | Open file in external editor. | | ||||
| | `` o `` | Открыть файл | Open file in default application. | | ||||
| | `` M `` | Открыть внешний инструмент слияния (git mergetool) | Run `git mergetool`. | | ||||
| | `` <esc> `` | Вернуться к панели файлов |  | | ||||
|  | ||||
| ## Главная панель (сборка патчей) | ||||
| @@ -109,10 +110,10 @@ _Связки клавиш_ | ||||
| | `` <left> `` | Выбрать предыдущую часть |  | | ||||
| | `` <right> `` | Выбрать следующую часть |  | | ||||
| | `` v `` | Переключить выборку перетаскивания |  | | ||||
| | `` a `` | Переключить выборку частей |  | | ||||
| | `` a `` | Переключить выборку частей | Toggle hunk selection mode. | | ||||
| | `` <c-o> `` | Скопировать выделенный текст в буфер обмена |  | | ||||
| | `` o `` | Открыть файл |  | | ||||
| | `` e `` | Редактировать файл |  | | ||||
| | `` o `` | Открыть файл | Open file in default application. | | ||||
| | `` e `` | Редактировать файл | Open file in external editor. | | ||||
| | `` <space> `` | Добавить/удалить строку(и) для патча |  | | ||||
| | `` <esc> `` | Выйти из сборщика пользовательских патчей |  | | ||||
| | `` / `` | Найти |  | | ||||
| @@ -122,16 +123,16 @@ _Связки клавиш_ | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | Скопировать SHA коммита в буфер обмена |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <space> `` | Переключить коммит |  | | ||||
| | `` y `` | Скопировать атрибут коммита |  | | ||||
| | `` <space> `` | Переключить | Checkout the selected commit as a detached HEAD. | | ||||
| | `` y `` | Скопировать атрибут коммита | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | ||||
| | `` o `` | Открыть коммит в браузере |  | | ||||
| | `` n `` | Создать новую ветку с этого коммита |  | | ||||
| | `` g `` | Просмотреть параметры сброса |  | | ||||
| | `` C `` | Скопировать отобранные коммит (cherry-pick) |  | | ||||
| | `` g `` | Просмотреть параметры сброса | 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> `` | Сбросить отобранную (скопированную | cherry-picked) выборку коммитов |  | | ||||
| | `` <c-t> `` | Open external diff tool (git difftool) |  | | ||||
| | `` <enter> `` | Просмотреть коммиты |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## Коммиты | ||||
| @@ -141,35 +142,35 @@ _Связки клавиш_ | ||||
| | `` <c-o> `` | Скопировать SHA коммита в буфер обмена |  | | ||||
| | `` <c-r> `` | Сбросить отобранную (скопированную | cherry-picked) выборку коммитов |  | | ||||
| | `` b `` | Просмотреть параметры бинарного поиска |  | | ||||
| | `` s `` | Объединить несколько коммитов в один нижний |  | | ||||
| | `` f `` | Объединить несколько коммитов в один отбросив сообщение коммита |  | | ||||
| | `` r `` | Перефразировать коммит |  | | ||||
| | `` s `` | Объединить коммиты (Squash) | Squash the selected commit into the commit below it. The selected commit's message will be appended to the commit below it. | | ||||
| | `` f `` | Объединить несколько коммитов в один отбросив сообщение коммита (Fixup)  | Meld the selected commit into the commit below it. Similar to fixup, but the selected commit's message will be discarded. | | ||||
| | `` r `` | Перефразировать коммит | Reword the selected commit's message. | | ||||
| | `` R `` | Переписать коммит с помощью редактора |  | | ||||
| | `` d `` | Удалить коммит |  | | ||||
| | `` e `` | Изменить коммит |  | | ||||
| | `` 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. | | ||||
| | `` e `` | Edit (start interactive rebase) | Изменить коммит | | ||||
| | `` i `` | Start interactive rebase | Start 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`. | | ||||
| | `` p `` | Выбрать коммит (в середине перебазирования) |  | | ||||
| | `` F `` | Создать fixup коммит для этого коммита |  | | ||||
| | `` S `` | Объединить все 'fixup!' коммиты выше в выбранный коммит (автосохранение) |  | | ||||
| | `` p `` | Pick | Выбрать коммит (в середине перебазирования) | | ||||
| | `` F `` | Create fixup commit | Создать fixup коммит для этого коммита | | ||||
| | `` S `` | Apply fixup commits | Объединить все 'fixup!' коммиты выше в выбранный коммит (автосохранение) | | ||||
| | `` <c-j> `` | Переместить коммит вниз на один |  | | ||||
| | `` <c-k> `` | Переместить коммит вверх на один |  | | ||||
| | `` V `` | Вставить отобранные коммиты (cherry-pick) |  | | ||||
| | `` B `` | Mark commit as base commit for rebase | Select a base commit for the next rebase; this will effectively perform a 'git rebase --onto'. | | ||||
| | `` A `` | Править последний коммит с проиндексированными изменениями |  | | ||||
| | `` a `` | Установить/убрать автора коммита |  | | ||||
| | `` t `` | Отменить коммит |  | | ||||
| | `` T `` | Пометить коммит тегом |  | | ||||
| | `` <c-l> `` | Открыть меню журнала |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <space> `` | Переключить коммит |  | | ||||
| | `` y `` | Скопировать атрибут коммита |  | | ||||
| | `` B `` | Mark as base commit for rebase | Select 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. | | ||||
| | `` A `` | Amend | Править последний коммит с проиндексированными изменениями | | ||||
| | `` a `` | Установить/убрать автора коммита | Set/Reset commit author or set co-author. | | ||||
| | `` t `` | Revert | Create a revert commit for the selected commit, which applies the selected commit's changes in reverse. | | ||||
| | `` T `` | Пометить коммит тегом | Create 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. | | ||||
| | `` <space> `` | Переключить | Checkout the selected commit as a detached HEAD. | | ||||
| | `` y `` | Скопировать атрибут коммита | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | ||||
| | `` o `` | Открыть коммит в браузере |  | | ||||
| | `` n `` | Создать новую ветку с этого коммита |  | | ||||
| | `` g `` | Просмотреть параметры сброса |  | | ||||
| | `` C `` | Скопировать отобранные коммит (cherry-pick) |  | | ||||
| | `` g `` | Просмотреть параметры сброса | 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) |  | | ||||
| | `` <enter> `` | Просмотреть файлы выбранного элемента |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Найти |  | | ||||
|  | ||||
| ## Локальные Ветки | ||||
| @@ -178,24 +179,24 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | Скопировать название ветки в буфер обмена |  | | ||||
| | `` i `` | Показать параметры git-flow |  | | ||||
| | `` <space> `` | Переключить |  | | ||||
| | `` <space> `` | Переключить | Checkout selected item. | | ||||
| | `` n `` | Новая ветка |  | | ||||
| | `` o `` | Создать запрос на принятие изменений |  | | ||||
| | `` O `` | Создать параметры запроса принятие изменений |  | | ||||
| | `` <c-y> `` | Скопировать URL запроса на принятие изменений в буфер обмена |  | | ||||
| | `` c `` | Переключить по названию |  | | ||||
| | `` F `` | Принудительное переключение |  | | ||||
| | `` d `` | View delete options |  | | ||||
| | `` r `` | Перебазировать переключённую ветку на эту ветку |  | | ||||
| | `` M `` | Слияние с текущей переключённой веткой |  | | ||||
| | `` f `` | Перемотать эту ветку вперёд из её upstream-ветки |  | | ||||
| | `` c `` | Переключить по названию | Checkout by name. In the input box you can enter '-' to switch to the last branch. | | ||||
| | `` F `` | Принудительное переключение | Force checkout selected branch. This will discard all local changes in your working directory before checking out the selected branch. | | ||||
| | `` d `` | Delete | View delete options for local/remote branch. | | ||||
| | `` r `` | Перебазировать переключённую ветку на эту ветку | Rebase the checked-out branch onto the selected branch. | | ||||
| | `` M `` | Слияние с текущей переключённой веткой | Merge selected branch into currently checked out branch. | | ||||
| | `` f `` | Перемотать эту ветку вперёд из её upstream-ветки | Fast-forward selected branch from its upstream. | | ||||
| | `` T `` | Создать тег |  | | ||||
| | `` s `` | Порядок сортировки |  | | ||||
| | `` g `` | Просмотреть параметры сброса |  | | ||||
| | `` R `` | Переименовать ветку |  | | ||||
| | `` u `` | View upstream options | View options relating to the branch's upstream e.g. setting/unsetting the upstream and resetting to the upstream | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` u `` | View upstream options | View options relating to the branch's upstream e.g. setting/unsetting the upstream and resetting to the upstream. | | ||||
| | `` <enter> `` | Просмотреть коммиты |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## Меню | ||||
| @@ -218,16 +219,16 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | Скопировать SHA коммита в буфер обмена |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <space> `` | Переключить коммит |  | | ||||
| | `` y `` | Скопировать атрибут коммита |  | | ||||
| | `` <space> `` | Переключить | Checkout the selected commit as a detached HEAD. | | ||||
| | `` y `` | Скопировать атрибут коммита | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | ||||
| | `` o `` | Открыть коммит в браузере |  | | ||||
| | `` n `` | Создать новую ветку с этого коммита |  | | ||||
| | `` g `` | Просмотреть параметры сброса |  | | ||||
| | `` C `` | Скопировать отобранные коммит (cherry-pick) |  | | ||||
| | `` g `` | Просмотреть параметры сброса | 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> `` | Сбросить отобранную (скопированную | cherry-picked) выборку коммитов |  | | ||||
| | `` <c-t> `` | Open external diff tool (git difftool) |  | | ||||
| | `` <enter> `` | Просмотреть файлы выбранного элемента |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Найти |  | | ||||
|  | ||||
| ## Подмодули | ||||
| @@ -235,13 +236,12 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | Скопировать название подмодуля в буфер обмена |  | | ||||
| | `` <enter> `` | Ввести подмодуль |  | | ||||
| | `` <space> `` | Ввести подмодуль |  | | ||||
| | `` d `` | Удалить подмодуль |  | | ||||
| | `` u `` | Обновить подмодуль |  | | ||||
| | `` <enter> `` | Enter | Ввести подмодуль | | ||||
| | `` d `` | Remove | Remove the selected submodule and its corresponding directory. | | ||||
| | `` u `` | Update | Обновить подмодуль | | ||||
| | `` n `` | Добавить новый подмодуль |  | | ||||
| | `` e `` | Обновить URL подмодуля |  | | ||||
| | `` i `` | Инициализировать подмодуль |  | | ||||
| | `` i `` | Initialize | Инициализировать подмодуль | | ||||
| | `` b `` | Просмотреть параметры массового подмодуля |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| @@ -256,24 +256,24 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | Скопировать закомиченное имя файла в буфер обмена |  | | ||||
| | `` c `` | Переключить файл |  | | ||||
| | `` d `` | Отменить изменения коммита в этом файле |  | | ||||
| | `` o `` | Открыть файл |  | | ||||
| | `` e `` | Редактировать файл |  | | ||||
| | `` <c-o> `` | Скопировать название файла в буфер обмена |  | | ||||
| | `` c `` | Переключить | Переключить файл | | ||||
| | `` d `` | Remove | Отменить изменения коммита в этом файле | | ||||
| | `` o `` | Открыть файл | Open file in default application. | | ||||
| | `` e `` | Edit | Open file in external editor. | | ||||
| | `` <c-t> `` | Open external diff tool (git difftool) |  | | ||||
| | `` <space> `` | Переключить файлы включённые в патч |  | | ||||
| | `` a `` | Переключить все файлы, включённые в патч |  | | ||||
| | `` <enter> `` | Введите файл, чтобы добавить выбранные строки в патч (или свернуть каталог переключения) |  | | ||||
| | `` ` `` | Переключить вид дерева файлов |  | | ||||
| | `` <space> `` | Переключить файлы включённые в патч | Toggle whether the file is included in the custom patch. See https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches. | | ||||
| | `` a `` | Переключить все файлы, включённые в патч | Add/remove all commit's files to custom patch. See https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches. | | ||||
| | `` <enter> `` | Введите файл, чтобы добавить выбранные строки в патч (или свернуть каталог переключения) | 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. | | ||||
| | `` / `` | Найти |  | | ||||
|  | ||||
| ## Статус | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` o `` | Открыть файл конфигурации |  | | ||||
| | `` e `` | Редактировать файл конфигурации |  | | ||||
| | `` o `` | Открыть файл конфигурации | Open file in default application. | | ||||
| | `` e `` | Редактировать файл конфигурации | Open file in external editor. | | ||||
| | `` u `` | Проверить обновления |  | | ||||
| | `` <enter> `` | Переключиться на последний репозиторий |  | | ||||
| | `` a `` | Показать все логи ветки |  | | ||||
| @@ -282,13 +282,13 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <space> `` | Переключить |  | | ||||
| | `` d `` | View delete options |  | | ||||
| | `` P `` | Отправить тег |  | | ||||
| | `` n `` | Создать тег |  | | ||||
| | `` g `` | Просмотреть параметры сброса |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <space> `` | Переключить | Checkout the selected tag 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 `` | Delete | View delete options for local/remote tag. | | ||||
| | `` P `` | Отправить тег | Push the selected tag to a remote. You'll be prompted to select a remote. | | ||||
| | `` g `` | Reset | View reset options (soft/mixed/hard) for resetting onto selected item. | | ||||
| | `` <enter> `` | Просмотреть коммиты |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## Удалённые ветки | ||||
| @@ -296,26 +296,27 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | Скопировать название ветки в буфер обмена |  | | ||||
| | `` <space> `` | Переключить |  | | ||||
| | `` <space> `` | Переключить | Checkout a new local branch based on the selected remote branch. The new branch will track the remote branch. | | ||||
| | `` n `` | Новая ветка |  | | ||||
| | `` M `` | Слияние с текущей переключённой веткой |  | | ||||
| | `` r `` | Перебазировать переключённую ветку на эту ветку |  | | ||||
| | `` d `` | Delete remote tag |  | | ||||
| | `` u `` | Установить как upstream-ветку переключённую ветку |  | | ||||
| | `` M `` | Слияние с текущей переключённой веткой | Merge selected branch into currently checked out branch. | | ||||
| | `` r `` | Перебазировать переключённую ветку на эту ветку | Rebase the checked-out branch onto the selected branch. | | ||||
| | `` d `` | Delete | Delete the remote branch from the remote. | | ||||
| | `` u `` | Set as upstream | Установить как upstream-ветку переключённую ветку | | ||||
| | `` s `` | Порядок сортировки |  | | ||||
| | `` g `` | Просмотреть параметры сброса |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` g `` | Просмотреть параметры сброса | View reset options (soft/mixed/hard) for resetting onto selected item. | | ||||
| | `` <enter> `` | Просмотреть коммиты |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## Удалённые репозитории | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` f `` | Получение изменения из удалённого репозитория |  | | ||||
| | `` <enter> `` | View branches |  | | ||||
| | `` n `` | Добавить новую удалённую ветку |  | | ||||
| | `` d `` | Удалить удалённую ветку |  | | ||||
| | `` e `` | Редактировать удалённый репозитории |  | | ||||
| | `` d `` | Remove | Remove the selected remote. Any local branches tracking a remote branch from the remote will be unaffected. | | ||||
| | `` e `` | Edit | Редактировать удалённый репозитории | | ||||
| | `` f `` | Получить изменения | Получение изменения из удалённого репозитория | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## Файлы | ||||
| @@ -323,40 +324,40 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | Скопировать название файла в буфер обмена |  | | ||||
| | `` <space> `` | Переключить индекс |  | | ||||
| | `` <space> `` | Переключить индекс | Toggle staged for selected file. | | ||||
| | `` <c-b> `` | Фильтровать файлы (проиндексированные/непроиндексированные) |  | | ||||
| | `` y `` | Copy to clipboard |  | | ||||
| | `` c `` | Сохранить изменения |  | | ||||
| | `` c `` | Сохранить изменения | Commit staged changes. | | ||||
| | `` w `` | Закоммитить изменения без предварительного хука коммита |  | | ||||
| | `` A `` | Правка последнего коммита |  | | ||||
| | `` C `` | Сохранить изменения с помощью редактора git |  | | ||||
| | `` <c-f> `` | Find base commit for fixup | Find 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> | | ||||
| | `` e `` | Редактировать файл |  | | ||||
| | `` o `` | Открыть файл |  | | ||||
| | `` e `` | Edit | Open file in external editor. | | ||||
| | `` o `` | Открыть файл | Open file in default application. | | ||||
| | `` i `` | Игнорировать или исключить файл |  | | ||||
| | `` r `` | Обновить файлы |  | | ||||
| | `` s `` | Припрятать все изменения |  | | ||||
| | `` S `` | Просмотреть параметры хранилища |  | | ||||
| | `` a `` | Все проиндексированные/непроиндексированные |  | | ||||
| | `` <enter> `` | Проиндексировать отдельные части/строки для файла или свернуть/развернуть для каталога |  | | ||||
| | `` d `` | Просмотреть параметры «отмены изменении» |  | | ||||
| | `` s `` | Stash | Stash all changes. For other variations of stashing, use the view stash options keybinding. | | ||||
| | `` S `` | Просмотреть параметры хранилища | View stash options (e.g. stash all, stash staged, stash unstaged). | | ||||
| | `` a `` | Все проиндексированные/непроиндексированные | Toggle staged/unstaged for all files in working tree. | | ||||
| | `` <enter> `` | Проиндексировать отдельные части/строки для файла или свернуть/развернуть для каталога | If 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. | | ||||
| | `` d `` | Просмотреть параметры «отмены изменении» | View options for discarding changes to the selected file. | | ||||
| | `` g `` | Просмотреть параметры сброса upstream-ветки |  | | ||||
| | `` D `` | Просмотреть параметры сброса |  | | ||||
| | `` ` `` | Переключить вид дерева файлов |  | | ||||
| | `` D `` | Reset | 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. | | ||||
| | `` <c-t> `` | Open external diff tool (git difftool) |  | | ||||
| | `` M `` | Открыть внешний инструмент слияния (git mergetool) |  | | ||||
| | `` f `` | Получить изменения |  | | ||||
| | `` M `` | Открыть внешний инструмент слияния (git mergetool) | Run `git mergetool`. | | ||||
| | `` f `` | Получить изменения | Fetch changes from remote. | | ||||
| | `` / `` | Найти |  | | ||||
|  | ||||
| ## Хранилище | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <space> `` | Применить припрятанные изменения |  | | ||||
| | `` g `` | Применить припрятанные изменения и тут же удалить их из хранилища |  | | ||||
| | `` d `` | Удалить припрятанные изменения из хранилища |  | | ||||
| | `` n `` | Новая ветка |  | | ||||
| | `` <space> `` | Применить припрятанные изменения | Apply the stash entry to your working directory. | | ||||
| | `` g `` | Применить припрятанные изменения и тут же удалить их из хранилища | Apply the stash entry to your working directory and remove the stash entry. | | ||||
| | `` d `` | Удалить припрятанные изменения из хранилища | Remove 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. | | ||||
| | `` r `` | Переименовать хранилище |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <enter> `` | Просмотреть файлы выбранного элемента |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|   | ||||
| @@ -11,24 +11,26 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_ | ||||
| | `` <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 the amount of the context shown around changes in the diff view. | | ||||
| | `` { `` | 缩小差异视图中显示的上下文范围 | Decrease the amount of the context shown around changes in the diff view. | | ||||
| | `` : `` | 执行自定义命令 | Bring up a prompt where you can enter a shell command to execute. Not to be confused with pre-configured custom commands. | | ||||
| | `` <c-p> `` | 查看自定义补丁选项 |  | | ||||
| | `` m `` | 查看 合并/变基 选项 |  | | ||||
| | `` R `` | 刷新 |  | | ||||
| | `` m `` | 查看 合并/变基 选项 | 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`. | | ||||
| | `` + `` | 下一屏模式(正常/半屏/全屏) |  | | ||||
| | `` _ `` | 上一屏模式 |  | | ||||
| | `` ? `` | 打开菜单 |  | | ||||
| | `` <c-s> `` | 查看按路径过滤选项 |  | | ||||
| | `` W `` | 打开 diff 菜单 |  | | ||||
| | `` <c-e> `` | 打开 diff 菜单 |  | | ||||
| | `` <c-w> `` | 切换是否在差异视图中显示空白字符差异 |  | | ||||
| | `` <c-s> `` | 查看按路径过滤选项 | View options for filtering the commit log by a file path, so that only commits relating to that path 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 `` | 退出 |  | | ||||
| | `` <esc> `` | 取消 |  | | ||||
| | `` <c-w> `` | 切换是否在差异视图中显示空白字符差异 | Toggle whether or not whitespace changes are shown in the diff view. | | ||||
| | `` 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. | | ||||
| | `` <c-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. | | ||||
| | `` P `` | 推送 |  | | ||||
| | `` p `` | 拉取 |  | | ||||
|  | ||||
| ## 列表面板导航 | ||||
|  | ||||
| @@ -52,27 +54,26 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_ | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | 将提交的 SHA 复制到剪贴板 |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <space> `` | 检出提交 |  | | ||||
| | `` y `` | Copy commit attribute |  | | ||||
| | `` <space> `` | 检出 | Checkout the selected commit as a detached HEAD. | | ||||
| | `` y `` | Copy commit attribute to clipboard | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | ||||
| | `` o `` | 在浏览器中打开提交 |  | | ||||
| | `` n `` | 从提交创建新分支 |  | | ||||
| | `` g `` | 查看重置选项 |  | | ||||
| | `` C `` | 复制提交(拣选) |  | | ||||
| | `` g `` | 查看重置选项 | View reset options (soft/mixed/hard) for resetting onto selected item. | | ||||
| | `` C `` | 复制提交(拣选) | 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> `` | 重置已拣选(复制)的提交 |  | | ||||
| | `` <c-t> `` | Open external diff tool (git difftool) |  | | ||||
| | `` <enter> `` | 查看提交 |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## Worktrees | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` n `` | Create worktree |  | | ||||
| | `` <space> `` | Switch to worktree |  | | ||||
| | `` <enter> `` | Switch to worktree |  | | ||||
| | `` n `` | New worktree |  | | ||||
| | `` <space> `` | Switch | Switch to the selected worktree. | | ||||
| | `` o `` | Open in editor |  | | ||||
| | `` d `` | Remove worktree |  | | ||||
| | `` d `` | Remove | Remove 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 |  | | ||||
|  | ||||
| ## 分支页面 | ||||
| @@ -81,24 +82,24 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_ | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | 将分支名称复制到剪贴板 |  | | ||||
| | `` i `` | 显示 git-flow 选项 |  | | ||||
| | `` <space> `` | 检出 |  | | ||||
| | `` <space> `` | 检出 | Checkout selected item. | | ||||
| | `` n `` | 新分支 |  | | ||||
| | `` o `` | 创建抓取请求 |  | | ||||
| | `` O `` | 创建抓取请求选项 |  | | ||||
| | `` <c-y> `` | 将抓取请求 URL 复制到剪贴板 |  | | ||||
| | `` c `` | 按名称检出 |  | | ||||
| | `` F `` | 强制检出 |  | | ||||
| | `` d `` | View delete options |  | | ||||
| | `` r `` | 将已检出的分支变基到该分支 |  | | ||||
| | `` M `` | 合并到当前检出的分支 |  | | ||||
| | `` f `` | 从上游快进此分支 |  | | ||||
| | `` c `` | 按名称检出 | Checkout by name. In the input box you can enter '-' to switch to the last branch. | | ||||
| | `` F `` | 强制检出 | Force checkout selected branch. This will discard all local changes in your working directory before checking out the selected branch. | | ||||
| | `` d `` | Delete | View delete options for local/remote branch. | | ||||
| | `` r `` | 将已检出的分支变基到该分支 | Rebase the checked-out branch onto the selected branch. | | ||||
| | `` M `` | 合并到当前检出的分支 | Merge selected branch into currently checked out branch. | | ||||
| | `` f `` | 从上游快进此分支 | Fast-forward selected branch from its upstream. | | ||||
| | `` T `` | 创建标签 |  | | ||||
| | `` s `` | Sort order |  | | ||||
| | `` g `` | 查看重置选项 |  | | ||||
| | `` R `` | 重命名分支 |  | | ||||
| | `` u `` | View upstream options | View options relating to the branch's upstream e.g. setting/unsetting the upstream and resetting to the upstream | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` u `` | View upstream options | View options relating to the branch's upstream e.g. setting/unsetting the upstream and resetting to the upstream. | | ||||
| | `` <enter> `` | 查看提交 |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## 子提交 | ||||
| @@ -106,16 +107,16 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_ | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | 将提交的 SHA 复制到剪贴板 |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <space> `` | 检出提交 |  | | ||||
| | `` y `` | Copy commit attribute |  | | ||||
| | `` <space> `` | 检出 | Checkout the selected commit as a detached HEAD. | | ||||
| | `` y `` | Copy commit attribute to clipboard | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | ||||
| | `` o `` | 在浏览器中打开提交 |  | | ||||
| | `` n `` | 从提交创建新分支 |  | | ||||
| | `` g `` | 查看重置选项 |  | | ||||
| | `` C `` | 复制提交(拣选) |  | | ||||
| | `` g `` | 查看重置选项 | View reset options (soft/mixed/hard) for resetting onto selected item. | | ||||
| | `` C `` | 复制提交(拣选) | 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> `` | 重置已拣选(复制)的提交 |  | | ||||
| | `` <c-t> `` | Open external diff tool (git difftool) |  | | ||||
| | `` <enter> `` | 查看提交的文件 |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | 开始搜索 |  | | ||||
|  | ||||
| ## 子模块 | ||||
| @@ -123,13 +124,12 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_ | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | 将子模块名称复制到剪贴板 |  | | ||||
| | `` <enter> `` | 输入子模块 |  | | ||||
| | `` <space> `` | 输入子模块 |  | | ||||
| | `` d `` | 删除子模块 |  | | ||||
| | `` u `` | 更新子模块 |  | | ||||
| | `` <enter> `` | Enter | 输入子模块 | | ||||
| | `` d `` | Remove | Remove the selected submodule and its corresponding directory. | | ||||
| | `` u `` | Update | 更新子模块 | | ||||
| | `` n `` | 添加新的子模块 |  | | ||||
| | `` e `` | 更新子模块 URL |  | | ||||
| | `` i `` | 初始化子模块 |  | | ||||
| | `` i `` | Initialize | 初始化子模块 | | ||||
| | `` b `` | 查看批量子模块选项 |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| @@ -140,51 +140,51 @@ _Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_ | ||||
| | `` <c-o> `` | 将提交的 SHA 复制到剪贴板 |  | | ||||
| | `` <c-r> `` | 重置已拣选(复制)的提交 |  | | ||||
| | `` b `` | 查看二分查找选项 |  | | ||||
| | `` s `` | 向下压缩 |  | | ||||
| | `` f `` | 修正提交(fixup) |  | | ||||
| | `` r `` | 改写提交 |  | | ||||
| | `` s `` | 压缩 | Squash the selected commit into the commit below it. The selected commit's message will be appended to the commit below it. | | ||||
| | `` f `` | 修正(fixup) | Meld the selected commit into the commit below it. Similar to fixup, but the selected commit's message will be discarded. | | ||||
| | `` r `` | 改写提交 | Reword the selected commit's message. | | ||||
| | `` R `` | 使用编辑器重命名提交 |  | | ||||
| | `` d `` | 删除提交 |  | | ||||
| | `` e `` | 编辑提交 |  | | ||||
| | `` 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. | | ||||
| | `` e `` | Edit (start interactive rebase) | 编辑提交 | | ||||
| | `` i `` | Start interactive rebase | Start 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`. | | ||||
| | `` p `` | 选择提交(变基过程中) |  | | ||||
| | `` F `` | 创建修正提交 |  | | ||||
| | `` S `` | 压缩在所选提交之上的所有“fixup!”提交(自动压缩) |  | | ||||
| | `` p `` | Pick | 选择提交(变基过程中) | | ||||
| | `` F `` | Create fixup commit | 创建修正提交 | | ||||
| | `` S `` | Apply fixup commits | 压缩在所选提交之上的所有“fixup!”提交(自动压缩) | | ||||
| | `` <c-j> `` | 下移提交 |  | | ||||
| | `` <c-k> `` | 上移提交 |  | | ||||
| | `` V `` | 粘贴提交(拣选) |  | | ||||
| | `` B `` | Mark commit as base commit for rebase | Select a base commit for the next rebase; this will effectively perform a 'git rebase --onto'. | | ||||
| | `` A `` | 用已暂存的更改来修补提交 |  | | ||||
| | `` a `` | Set/Reset commit author |  | | ||||
| | `` t `` | 还原提交 |  | | ||||
| | `` T `` | 标签提交 |  | | ||||
| | `` <c-l> `` | 打开日志菜单 |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <space> `` | 检出提交 |  | | ||||
| | `` y `` | Copy commit attribute |  | | ||||
| | `` B `` | Mark as base commit for rebase | Select 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. | | ||||
| | `` A `` | Amend | 用已暂存的更改来修补提交 | | ||||
| | `` a `` | Amend commit attribute | Set/Reset commit author or set co-author. | | ||||
| | `` t `` | Revert | Create a revert commit for the selected commit, which applies the selected commit's changes in reverse. | | ||||
| | `` T `` | 标签提交 | Create 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. | | ||||
| | `` <space> `` | 检出 | Checkout the selected commit as a detached HEAD. | | ||||
| | `` y `` | Copy commit attribute to clipboard | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | ||||
| | `` o `` | 在浏览器中打开提交 |  | | ||||
| | `` n `` | 从提交创建新分支 |  | | ||||
| | `` g `` | 查看重置选项 |  | | ||||
| | `` C `` | 复制提交(拣选) |  | | ||||
| | `` g `` | 查看重置选项 | View reset options (soft/mixed/hard) for resetting onto selected item. | | ||||
| | `` C `` | 复制提交(拣选) | 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) |  | | ||||
| | `` <enter> `` | 查看提交的文件 |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | 开始搜索 |  | | ||||
|  | ||||
| ## 提交文件 | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | 将提交的文件名复制到剪贴板 |  | | ||||
| | `` c `` | 检出文件 |  | | ||||
| | `` d `` | 放弃对此文件的提交更改 |  | | ||||
| | `` o `` | 打开文件 |  | | ||||
| | `` e `` | 编辑文件 |  | | ||||
| | `` <c-o> `` | 将文件名复制到剪贴板 |  | | ||||
| | `` c `` | 检出 | 检出文件 | | ||||
| | `` d `` | Remove | 放弃对此文件的提交更改 | | ||||
| | `` o `` | 打开文件 | Open file in default application. | | ||||
| | `` e `` | Edit | Open file in external editor. | | ||||
| | `` <c-t> `` | Open external diff tool (git difftool) |  | | ||||
| | `` <space> `` | 补丁中包含的切换文件 |  | | ||||
| | `` a `` | Toggle all files included in patch |  | | ||||
| | `` <enter> `` | 输入文件以将所选行添加到补丁中(或切换目录折叠) |  | | ||||
| | `` ` `` | 切换文件树视图 |  | | ||||
| | `` <space> `` | 补丁中包含的切换文件 | Toggle whether the file is included in the custom patch. See https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches. | | ||||
| | `` a `` | Toggle all files | Add/remove all commit's files to custom patch. See https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches. | | ||||
| | `` <enter> `` | 输入文件以将所选行添加到补丁中(或切换目录折叠) | 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. | | ||||
| | `` / `` | 开始搜索 |  | | ||||
|  | ||||
| ## 提交讯息 | ||||
| @@ -199,29 +199,29 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | 将文件名复制到剪贴板 |  | | ||||
| | `` <space> `` | 切换暂存状态 |  | | ||||
| | `` <space> `` | 切换暂存状态 | Toggle staged for selected file. | | ||||
| | `` <c-b> `` | Filter files by status |  | | ||||
| | `` y `` | Copy to clipboard |  | | ||||
| | `` c `` | 提交更改 |  | | ||||
| | `` c `` | 提交更改 | Commit staged changes. | | ||||
| | `` w `` | 提交更改而无需预先提交钩子 |  | | ||||
| | `` A `` | 修补最后一次提交 |  | | ||||
| | `` C `` | 提交更改(使用编辑器编辑提交信息) |  | | ||||
| | `` <c-f> `` | Find base commit for fixup | Find 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> | | ||||
| | `` e `` | 编辑文件 |  | | ||||
| | `` o `` | 打开文件 |  | | ||||
| | `` e `` | Edit | Open file in external editor. | | ||||
| | `` o `` | 打开文件 | Open file in default application. | | ||||
| | `` i `` | 忽略文件 |  | | ||||
| | `` r `` | 刷新文件 |  | | ||||
| | `` s `` | 将所有更改加入贮藏 |  | | ||||
| | `` S `` | 查看贮藏选项 |  | | ||||
| | `` a `` | 切换所有文件的暂存状态 |  | | ||||
| | `` <enter> `` | 暂存单个 块/行 用于文件, 或 折叠/展开 目录 |  | | ||||
| | `` d `` | 查看'放弃更改'选项 |  | | ||||
| | `` s `` | Stash | Stash all changes. For other variations of stashing, use the view stash options keybinding. | | ||||
| | `` S `` | 查看贮藏选项 | View stash options (e.g. stash all, stash staged, stash unstaged). | | ||||
| | `` a `` | 切换所有文件的暂存状态 | Toggle staged/unstaged for all files in working tree. | | ||||
| | `` <enter> `` | 暂存单个 块/行 用于文件, 或 折叠/展开 目录 | If 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. | | ||||
| | `` d `` | 查看'放弃更改'选项 | View options for discarding changes to the selected file. | | ||||
| | `` g `` | 查看上游重置选项 |  | | ||||
| | `` D `` | 查看重置选项 |  | | ||||
| | `` ` `` | 切换文件树视图 |  | | ||||
| | `` D `` | Reset | 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. | | ||||
| | `` <c-t> `` | Open external diff tool (git difftool) |  | | ||||
| | `` M `` | 打开外部合并工具 (git mergetool) |  | | ||||
| | `` f `` | 抓取 |  | | ||||
| | `` M `` | 打开外部合并工具 (git mergetool) | Run `git mergetool`. | | ||||
| | `` f `` | 抓取 | Fetch changes from remote. | | ||||
| | `` / `` | 开始搜索 |  | | ||||
|  | ||||
| ## 构建补丁中 | ||||
| @@ -231,10 +231,10 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
| | `` <left> `` | 选择上一个区块 |  | | ||||
| | `` <right> `` | 选择下一个区块 |  | | ||||
| | `` v `` | 切换拖动选择 |  | | ||||
| | `` a `` | 切换选择区块 |  | | ||||
| | `` a `` | 切换选择区块 | Toggle hunk selection mode. | | ||||
| | `` <c-o> `` | 将选中文本复制到剪贴板 |  | | ||||
| | `` o `` | 打开文件 |  | | ||||
| | `` e `` | 编辑文件 |  | | ||||
| | `` o `` | 打开文件 | Open file in default application. | | ||||
| | `` e `` | 编辑文件 | Open file in external editor. | | ||||
| | `` <space> `` | 添加/移除 行到补丁 |  | | ||||
| | `` <esc> `` | 退出逐行模式 |  | | ||||
| | `` / `` | 开始搜索 |  | | ||||
| @@ -243,29 +243,29 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <space> `` | 检出 |  | | ||||
| | `` d `` | View delete options |  | | ||||
| | `` P `` | 推送标签 |  | | ||||
| | `` n `` | 创建标签 |  | | ||||
| | `` g `` | 查看重置选项 |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <space> `` | 检出 | Checkout the selected tag 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 `` | Delete | View delete options for local/remote tag. | | ||||
| | `` P `` | 推送标签 | Push the selected tag to a remote. You'll be prompted to select a remote. | | ||||
| | `` g `` | Reset | View reset options (soft/mixed/hard) for resetting onto selected item. | | ||||
| | `` <enter> `` | 查看提交 |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## 正在合并 | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` e `` | 编辑文件 |  | | ||||
| | `` o `` | 打开文件 |  | | ||||
| | `` <left> `` | 选择上一个冲突 |  | | ||||
| | `` <right> `` | 选择下一个冲突 |  | | ||||
| | `` <up> `` | 选择顶部块 |  | | ||||
| | `` <down> `` | 选择底部块 |  | | ||||
| | `` z `` | 撤销 |  | | ||||
| | `` M `` | 打开外部合并工具 (git mergetool) |  | | ||||
| | `` <space> `` | 选中区块 |  | | ||||
| | `` b `` | 选中所有区块 |  | | ||||
| | `` <up> `` | 选择顶部块 |  | | ||||
| | `` <down> `` | 选择底部块 |  | | ||||
| | `` <left> `` | 选择上一个冲突 |  | | ||||
| | `` <right> `` | 选择下一个冲突 |  | | ||||
| | `` z `` | 撤销 | Undo last merge conflict resolution. | | ||||
| | `` e `` | 编辑文件 | Open file in external editor. | | ||||
| | `` o `` | 打开文件 | Open file in default application. | | ||||
| | `` M `` | 打开外部合并工具 (git mergetool) | Run `git mergetool`. | | ||||
| | `` <esc> `` | 返回文件面板 |  | | ||||
|  | ||||
| ## 正在暂存 | ||||
| @@ -275,16 +275,16 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
| | `` <left> `` | 选择上一个区块 |  | | ||||
| | `` <right> `` | 选择下一个区块 |  | | ||||
| | `` v `` | 切换拖动选择 |  | | ||||
| | `` a `` | 切换选择区块 |  | | ||||
| | `` a `` | 切换选择区块 | Toggle hunk selection mode. | | ||||
| | `` <c-o> `` | 将选中文本复制到剪贴板 |  | | ||||
| | `` o `` | 打开文件 |  | | ||||
| | `` e `` | 编辑文件 |  | | ||||
| | `` <space> `` | 切换暂存状态 | 切换行暂存状态 | | ||||
| | `` 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> `` | 切换到其他面板 |  | | ||||
| | `` <space> `` | 切换行暂存状态 |  | | ||||
| | `` d `` | 取消变更 (git reset) |  | | ||||
| | `` E `` | Edit hunk |  | | ||||
| | `` c `` | 提交更改 |  | | ||||
| | `` <tab> `` | 切换到其他面板 | Switch to other view (staged/unstaged changes). | | ||||
| | `` E `` | Edit hunk | Edit selected hunk in external editor. | | ||||
| | `` c `` | 提交更改 | Commit staged changes. | | ||||
| | `` w `` | 提交更改而无需预先提交钩子 |  | | ||||
| | `` C `` | 提交更改(使用编辑器编辑提交信息) |  | | ||||
| | `` / `` | 开始搜索 |  | | ||||
| @@ -300,8 +300,8 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` o `` | 打开配置文件 |  | | ||||
| | `` e `` | 编辑配置文件 |  | | ||||
| | `` o `` | 打开配置文件 | Open file in default application. | | ||||
| | `` e `` | 编辑配置文件 | Open file in external editor. | | ||||
| | `` u `` | 检查更新 |  | | ||||
| | `` <enter> `` | 切换到最近的仓库 |  | | ||||
| | `` a `` | 显示所有分支的日志 |  | | ||||
| @@ -325,13 +325,13 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <space> `` | 应用 |  | | ||||
| | `` g `` | 应用并删除 |  | | ||||
| | `` d `` | 删除 |  | | ||||
| | `` n `` | 新分支 |  | | ||||
| | `` <space> `` | 应用 | Apply the stash entry to your working directory. | | ||||
| | `` g `` | 应用并删除 | Apply the stash entry to your working directory and remove the stash entry. | | ||||
| | `` d `` | 删除 | Remove 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. | | ||||
| | `` r `` | Rename stash |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <enter> `` | 查看提交的文件 |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## 远程分支 | ||||
| @@ -339,24 +339,25 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | 将分支名称复制到剪贴板 |  | | ||||
| | `` <space> `` | 检出 |  | | ||||
| | `` <space> `` | 检出 | Checkout a new local branch based on the selected remote branch. The new branch will track the remote branch. | | ||||
| | `` n `` | 新分支 |  | | ||||
| | `` M `` | 合并到当前检出的分支 |  | | ||||
| | `` r `` | 将已检出的分支变基到该分支 |  | | ||||
| | `` d `` | Delete remote tag |  | | ||||
| | `` u `` | 设置为检出分支的上游 |  | | ||||
| | `` M `` | 合并到当前检出的分支 | Merge selected branch into currently checked out branch. | | ||||
| | `` r `` | 将已检出的分支变基到该分支 | Rebase the checked-out branch onto the selected branch. | | ||||
| | `` d `` | Delete | Delete the remote branch from the remote. | | ||||
| | `` u `` | Set as upstream | 设置为检出分支的上游 | | ||||
| | `` s `` | Sort order |  | | ||||
| | `` g `` | 查看重置选项 |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` g `` | 查看重置选项 | View reset options (soft/mixed/hard) for resetting onto selected item. | | ||||
| | `` <enter> `` | 查看提交 |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## 远程页面 | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` f `` | 抓取远程仓库 |  | | ||||
| | `` <enter> `` | View branches |  | | ||||
| | `` n `` | 添加新的远程仓库 |  | | ||||
| | `` d `` | 删除远程 |  | | ||||
| | `` e `` | 编辑远程仓库 |  | | ||||
| | `` d `` | Remove | Remove the selected remote. Any local branches tracking a remote branch from the remote will be unaffected. | | ||||
| | `` e `` | Edit | 编辑远程仓库 | | ||||
| | `` f `` | 抓取 | 抓取远程仓库 | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|   | ||||
| @@ -11,24 +11,26 @@ _說明:`<c-b>` 表示 Ctrl+B、`<a-b>` 表示 Alt+B,`B`表示 Shift+B_ | ||||
| | `` <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 the amount of the context shown around changes in the diff view. | | ||||
| | `` { `` | 減小差異檢視中顯示變更周圍上下文的大小 | Decrease the amount of the context shown around changes in the diff view. | | ||||
| | `` : `` | 執行自訂命令 | Bring up a prompt where you can enter a shell command to execute. Not to be confused with pre-configured custom commands. | | ||||
| | `` <c-p> `` | 檢視自訂補丁選項 |  | | ||||
| | `` m `` | 查看合併/變基選項 |  | | ||||
| | `` R `` | 重新整理 |  | | ||||
| | `` m `` | 查看合併/變基選項 | 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`. | | ||||
| | `` + `` | 下一個螢幕模式(常規/半螢幕/全螢幕) |  | | ||||
| | `` _ `` | 上一個螢幕模式 |  | | ||||
| | `` ? `` | 開啟選單 |  | | ||||
| | `` <c-s> `` | 檢視篩選路徑選項 |  | | ||||
| | `` W `` | 開啟差異比較選單 |  | | ||||
| | `` <c-e> `` | 開啟差異比較選單 |  | | ||||
| | `` <c-w> `` | 切換是否在差異檢視中顯示空格變更 |  | | ||||
| | `` <c-s> `` | 檢視篩選路徑選項 | View options for filtering the commit log by a file path, so that only commits relating to that path are shown. | | ||||
| | `` W `` | 開啟差異比較選單 | 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> `` | 開啟差異比較選單 | View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction. | | ||||
| | `` q `` | 結束 |  | | ||||
| | `` <esc> `` | 取消 |  | | ||||
| | `` <c-w> `` | 切換是否在差異檢視中顯示空格變更 | Toggle whether or not whitespace changes are shown in the diff view. | | ||||
| | `` z `` | 復原 | 將使用 reflog 確定要運行哪個 git 命令以復原上一個 git 命令。這不包括工作區的更改;只考慮提交。 | | ||||
| | `` <c-z> `` | 取消復原 | 將使用 reflog 確定要運行哪個 git 命令以重作上一個 git 命令。這不包括工作區的更改;只考慮提交。 | | ||||
| | `` P `` | 推送 |  | | ||||
| | `` p `` | 拉取 |  | | ||||
|  | ||||
| ## 列表面板導航 | ||||
|  | ||||
| @@ -52,27 +54,26 @@ _說明:`<c-b>` 表示 Ctrl+B、`<a-b>` 表示 Alt+B,`B`表示 Shift+B_ | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | 複製提交 SHA 到剪貼簿 |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <space> `` | 檢出提交 |  | | ||||
| | `` y `` | 複製提交屬性 |  | | ||||
| | `` <space> `` | 檢出 | Checkout the selected commit as a detached HEAD. | | ||||
| | `` y `` | 複製提交屬性 | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | ||||
| | `` o `` | 在瀏覽器中開啟提交 |  | | ||||
| | `` n `` | 從提交建立新分支 |  | | ||||
| | `` g `` | 檢視重設選項 |  | | ||||
| | `` C `` | 複製提交 (揀選) |  | | ||||
| | `` g `` | 檢視重設選項 | View reset options (soft/mixed/hard) for resetting onto selected item. | | ||||
| | `` C `` | 複製提交 (揀選) | 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> `` | 重設選定的揀選 (複製) 提交 |  | | ||||
| | `` <c-t> `` | Open external diff tool (git difftool) |  | | ||||
| | `` <enter> `` | 檢視提交 |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## Worktrees | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` n `` | Create worktree |  | | ||||
| | `` <space> `` | Switch to worktree |  | | ||||
| | `` <enter> `` | Switch to worktree |  | | ||||
| | `` n `` | New worktree |  | | ||||
| | `` <space> `` | Switch | Switch to the selected worktree. | | ||||
| | `` o `` | Open in editor |  | | ||||
| | `` d `` | Remove worktree |  | | ||||
| | `` d `` | Remove | Remove 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 |  | | ||||
|  | ||||
| ## 主視窗 (一般) | ||||
| @@ -86,16 +87,16 @@ _說明:`<c-b>` 表示 Ctrl+B、`<a-b>` 表示 Alt+B,`B`表示 Shift+B_ | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` e `` | 編輯檔案 |  | | ||||
| | `` o `` | 開啟檔案 |  | | ||||
| | `` <left> `` | 選擇上一個衝突 |  | | ||||
| | `` <right> `` | 選擇下一個衝突 |  | | ||||
| | `` <up> `` | 選擇上一段 |  | | ||||
| | `` <down> `` | 選擇下一段 |  | | ||||
| | `` z `` | 復原 |  | | ||||
| | `` M `` | 開啟外部合併工具 (git mergetool) |  | | ||||
| | `` <space> `` | 挑選程式碼片段 |  | | ||||
| | `` b `` | 挑選所有程式碼片段 |  | | ||||
| | `` <up> `` | 選擇上一段 |  | | ||||
| | `` <down> `` | 選擇下一段 |  | | ||||
| | `` <left> `` | 選擇上一個衝突 |  | | ||||
| | `` <right> `` | 選擇下一個衝突 |  | | ||||
| | `` z `` | 復原 | Undo last merge conflict resolution. | | ||||
| | `` e `` | 編輯檔案 | Open file in external editor. | | ||||
| | `` o `` | 開啟檔案 | Open file in default application. | | ||||
| | `` M `` | 開啟外部合併工具 (git mergetool) | Run `git mergetool`. | | ||||
| | `` <esc> `` | 返回檔案面板 |  | | ||||
|  | ||||
| ## 主視窗 (預存中) | ||||
| @@ -105,16 +106,16 @@ _說明:`<c-b>` 表示 Ctrl+B、`<a-b>` 表示 Alt+B,`B`表示 Shift+B_ | ||||
| | `` <left> `` | 選擇上一段 |  | | ||||
| | `` <right> `` | 選擇下一段 |  | | ||||
| | `` v `` | 切換拖曳選擇 |  | | ||||
| | `` a `` | 切換選擇程式碼塊 |  | | ||||
| | `` a `` | 切換選擇程式碼塊 | Toggle hunk selection mode. | | ||||
| | `` <c-o> `` | 複製所選文本至剪貼簿 |  | | ||||
| | `` o `` | 開啟檔案 |  | | ||||
| | `` e `` | 編輯檔案 |  | | ||||
| | `` <space> `` | 切換預存 | 切換現有行的狀態 (已預存/未預存) | | ||||
| | `` 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> `` | 切換至另一個面板 (已預存/未預存更改) |  | | ||||
| | `` <space> `` | 切換現有行的狀態 (已預存/未預存) |  | | ||||
| | `` d `` | 刪除變更 (git reset) |  | | ||||
| | `` E `` | 編輯程式碼塊 |  | | ||||
| | `` c `` | 提交變更 |  | | ||||
| | `` <tab> `` | 切換至另一個面板 (已預存/未預存更改) | Switch to other view (staged/unstaged changes). | | ||||
| | `` E `` | 編輯程式碼塊 | Edit selected hunk in external editor. | | ||||
| | `` c `` | 提交變更 | Commit staged changes. | | ||||
| | `` w `` | 沒有預提交 hook 就提交更改 |  | | ||||
| | `` C `` | 使用 git 編輯器提交變更 |  | | ||||
| | `` / `` | 開始搜尋 |  | | ||||
| @@ -126,10 +127,10 @@ _說明:`<c-b>` 表示 Ctrl+B、`<a-b>` 表示 Alt+B,`B`表示 Shift+B_ | ||||
| | `` <left> `` | 選擇上一段 |  | | ||||
| | `` <right> `` | 選擇下一段 |  | | ||||
| | `` v `` | 切換拖曳選擇 |  | | ||||
| | `` a `` | 切換選擇程式碼塊 |  | | ||||
| | `` a `` | 切換選擇程式碼塊 | Toggle hunk selection mode. | | ||||
| | `` <c-o> `` | 複製所選文本至剪貼簿 |  | | ||||
| | `` o `` | 開啟檔案 |  | | ||||
| | `` e `` | 編輯檔案 |  | | ||||
| | `` o `` | 開啟檔案 | Open file in default application. | | ||||
| | `` e `` | 編輯檔案 | Open file in external editor. | | ||||
| | `` <space> `` | 向 (或從) 補丁中添加/刪除行 |  | | ||||
| | `` <esc> `` | 退出自訂補丁建立器 |  | | ||||
| | `` / `` | 開始搜尋 |  | | ||||
| @@ -147,16 +148,16 @@ _說明:`<c-b>` 表示 Ctrl+B、`<a-b>` 表示 Alt+B,`B`表示 Shift+B_ | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | 複製提交 SHA 到剪貼簿 |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <space> `` | 檢出提交 |  | | ||||
| | `` y `` | 複製提交屬性 |  | | ||||
| | `` <space> `` | 檢出 | Checkout the selected commit as a detached HEAD. | | ||||
| | `` y `` | 複製提交屬性 | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | ||||
| | `` o `` | 在瀏覽器中開啟提交 |  | | ||||
| | `` n `` | 從提交建立新分支 |  | | ||||
| | `` g `` | 檢視重設選項 |  | | ||||
| | `` C `` | 複製提交 (揀選) |  | | ||||
| | `` g `` | 檢視重設選項 | View reset options (soft/mixed/hard) for resetting onto selected item. | | ||||
| | `` C `` | 複製提交 (揀選) | 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> `` | 重設選定的揀選 (複製) 提交 |  | | ||||
| | `` <c-t> `` | Open external diff tool (git difftool) |  | | ||||
| | `` <enter> `` | 檢視所選項目的檔案 |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | 開始搜尋 |  | | ||||
|  | ||||
| ## 子模組 | ||||
| @@ -164,13 +165,12 @@ _說明:`<c-b>` 表示 Ctrl+B、`<a-b>` 表示 Alt+B,`B`表示 Shift+B_ | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | 複製子模組名稱到剪貼簿 |  | | ||||
| | `` <enter> `` | 進入子模組 |  | | ||||
| | `` <space> `` | 進入子模組 |  | | ||||
| | `` d `` | 移除子模組 |  | | ||||
| | `` u `` | 更新子模組 |  | | ||||
| | `` <enter> `` | Enter | 進入子模組 | | ||||
| | `` d `` | Remove | Remove the selected submodule and its corresponding directory. | | ||||
| | `` u `` | Update | 更新子模組 | | ||||
| | `` n `` | 新增子模組 |  | | ||||
| | `` e `` | 更新子模組 URL |  | | ||||
| | `` i `` | 初始化子模組 |  | | ||||
| | `` i `` | Initialize | 初始化子模組 | | ||||
| | `` b `` | 查看批量子模組選項 |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| @@ -181,35 +181,35 @@ _說明:`<c-b>` 表示 Ctrl+B、`<a-b>` 表示 Alt+B,`B`表示 Shift+B_ | ||||
| | `` <c-o> `` | 複製提交 SHA 到剪貼簿 |  | | ||||
| | `` <c-r> `` | 重設選定的揀選 (複製) 提交 |  | | ||||
| | `` b `` | 查看二分選項 |  | | ||||
| | `` s `` | 向下壓縮 |  | | ||||
| | `` f `` | 修復提交 (Fixup) |  | | ||||
| | `` r `` | 改寫提交 |  | | ||||
| | `` s `` | 壓縮 (Squash) | Squash the selected commit into the commit below it. The selected commit's message will be appended to the commit below it. | | ||||
| | `` f `` | 修復 (Fixup) | Meld the selected commit into the commit below it. Similar to fixup, but the selected commit's message will be discarded. | | ||||
| | `` r `` | 改寫提交 | Reword the selected commit's message. | | ||||
| | `` R `` | 使用編輯器改寫提交 |  | | ||||
| | `` d `` | 刪除提交 |  | | ||||
| | `` e `` | 編輯提交 |  | | ||||
| | `` 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. | | ||||
| | `` e `` | Edit (start interactive rebase) | 編輯提交 | | ||||
| | `` i `` | Start interactive rebase | Start 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`. | | ||||
| | `` p `` | 挑選提交 (於變基過程中) |  | | ||||
| | `` F `` | 為此提交建立修復提交 |  | | ||||
| | `` S `` | 壓縮上方所有的“fixup!”提交 (自動壓縮) |  | | ||||
| | `` p `` | Pick | 挑選提交 (於變基過程中) | | ||||
| | `` F `` | Create fixup commit | 為此提交建立修復提交 | | ||||
| | `` S `` | Apply fixup commits | 壓縮上方所有的“fixup!”提交 (自動壓縮) | | ||||
| | `` <c-j> `` | 向下移動提交 |  | | ||||
| | `` <c-k> `` | 向上移動提交 |  | | ||||
| | `` V `` | 貼上提交 (揀選) |  | | ||||
| | `` B `` | Mark commit as base commit for rebase | Select a base commit for the next rebase; this will effectively perform a 'git rebase --onto'. | | ||||
| | `` A `` | 使用已預存的更改修正提交 |  | | ||||
| | `` a `` | 設置/重設提交作者 |  | | ||||
| | `` t `` | 還原提交 |  | | ||||
| | `` T `` | 打標籤到提交 |  | | ||||
| | `` <c-l> `` | 開啟記錄選單 |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <space> `` | 檢出提交 |  | | ||||
| | `` y `` | 複製提交屬性 |  | | ||||
| | `` B `` | Mark as base commit for rebase | Select 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. | | ||||
| | `` A `` | Amend | 使用已預存的更改修正提交 | | ||||
| | `` a `` | 設置/重設提交作者 | Set/Reset commit author or set co-author. | | ||||
| | `` t `` | Revert | Create a revert commit for the selected commit, which applies the selected commit's changes in reverse. | | ||||
| | `` T `` | 打標籤到提交 | Create 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. | | ||||
| | `` <space> `` | 檢出 | Checkout the selected commit as a detached HEAD. | | ||||
| | `` y `` | 複製提交屬性 | Copy commit attribute to clipboard (e.g. hash, URL, diff, message, author). | | ||||
| | `` o `` | 在瀏覽器中開啟提交 |  | | ||||
| | `` n `` | 從提交建立新分支 |  | | ||||
| | `` g `` | 檢視重設選項 |  | | ||||
| | `` C `` | 複製提交 (揀選) |  | | ||||
| | `` g `` | 檢視重設選項 | View reset options (soft/mixed/hard) for resetting onto selected item. | | ||||
| | `` C `` | 複製提交 (揀選) | 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) |  | | ||||
| | `` <enter> `` | 檢視所選項目的檔案 |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | 開始搜尋 |  | | ||||
|  | ||||
| ## 提交摘要 | ||||
| @@ -223,29 +223,29 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | 複製提交的檔案名稱到剪貼簿 |  | | ||||
| | `` c `` | 檢出檔案 |  | | ||||
| | `` d `` | 捨棄此提交對此檔案的更改 |  | | ||||
| | `` o `` | 開啟檔案 |  | | ||||
| | `` e `` | 編輯檔案 |  | | ||||
| | `` <c-o> `` | 複製檔案名稱到剪貼簿 |  | | ||||
| | `` c `` | 檢出 | 檢出檔案 | | ||||
| | `` d `` | Remove | 捨棄此提交對此檔案的更改 | | ||||
| | `` o `` | 開啟檔案 | Open file in default application. | | ||||
| | `` e `` | Edit | Open file in external editor. | | ||||
| | `` <c-t> `` | Open external diff tool (git difftool) |  | | ||||
| | `` <space> `` | 切換檔案是否包含在補丁中 |  | | ||||
| | `` a `` | 切換所有檔案是否包含在補丁中 |  | | ||||
| | `` <enter> `` | 輸入檔案以將選定的行添加至補丁(或切換目錄折疊) |  | | ||||
| | `` ` `` | 切換檔案樹狀視圖 |  | | ||||
| | `` <space> `` | 切換檔案是否包含在補丁中 | Toggle whether the file is included in the custom patch. See https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches. | | ||||
| | `` a `` | 切換所有檔案是否包含在補丁中 | Add/remove all commit's files to custom patch. See https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches. | | ||||
| | `` <enter> `` | 輸入檔案以將選定的行添加至補丁(或切換目錄折疊) | 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. | | ||||
| | `` / `` | 開始搜尋 |  | | ||||
|  | ||||
| ## 收藏 (Stash) | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <space> `` | 套用 |  | | ||||
| | `` g `` | 還原 |  | | ||||
| | `` d `` | 捨棄 |  | | ||||
| | `` n `` | 新分支 |  | | ||||
| | `` <space> `` | 套用 | Apply the stash entry to your working directory. | | ||||
| | `` g `` | 還原 | Apply the stash entry to your working directory and remove the stash entry. | | ||||
| | `` d `` | 捨棄 | Remove 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. | | ||||
| | `` r `` | 重新命名收藏 |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <enter> `` | 檢視所選項目的檔案 |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## 本地分支 | ||||
| @@ -254,37 +254,37 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | 複製分支名稱到剪貼簿 |  | | ||||
| | `` i `` | 顯示 git-flow 選項 |  | | ||||
| | `` <space> `` | 檢出 |  | | ||||
| | `` <space> `` | 檢出 | Checkout selected item. | | ||||
| | `` n `` | 新分支 |  | | ||||
| | `` o `` | 建立拉取請求 |  | | ||||
| | `` O `` | 建立拉取請求選項 |  | | ||||
| | `` <c-y> `` | 複製拉取請求的 URL 到剪貼板 |  | | ||||
| | `` c `` | 根據名稱檢出 |  | | ||||
| | `` F `` | 強制檢出 |  | | ||||
| | `` d `` | View delete options |  | | ||||
| | `` r `` | 將已檢出的分支變基至此分支 |  | | ||||
| | `` M `` | 合併到當前檢出的分支 |  | | ||||
| | `` f `` | 從上游快進此分支 |  | | ||||
| | `` c `` | 根據名稱檢出 | Checkout by name. In the input box you can enter '-' to switch to the last branch. | | ||||
| | `` F `` | 強制檢出 | Force checkout selected branch. This will discard all local changes in your working directory before checking out the selected branch. | | ||||
| | `` d `` | Delete | View delete options for local/remote branch. | | ||||
| | `` r `` | 將已檢出的分支變基至此分支 | Rebase the checked-out branch onto the selected branch. | | ||||
| | `` M `` | 合併到當前檢出的分支 | Merge selected branch into currently checked out branch. | | ||||
| | `` f `` | 從上游快進此分支 | Fast-forward selected branch from its upstream. | | ||||
| | `` T `` | 建立標籤 |  | | ||||
| | `` s `` | Sort order |  | | ||||
| | `` g `` | 檢視重設選項 |  | | ||||
| | `` R `` | 重新命名分支 |  | | ||||
| | `` u `` | View upstream options | View options relating to the branch's upstream e.g. setting/unsetting the upstream and resetting to the upstream | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` u `` | View upstream options | View options relating to the branch's upstream e.g. setting/unsetting the upstream and resetting to the upstream. | | ||||
| | `` <enter> `` | 檢視提交 |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## 標籤 | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <space> `` | 檢出 |  | | ||||
| | `` d `` | View delete options |  | | ||||
| | `` P `` | 推送標籤 |  | | ||||
| | `` n `` | 建立標籤 |  | | ||||
| | `` g `` | 檢視重設選項 |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` <space> `` | 檢出 | Checkout the selected tag 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 `` | Delete | View delete options for local/remote tag. | | ||||
| | `` P `` | 推送標籤 | Push the selected tag to a remote. You'll be prompted to select a remote. | | ||||
| | `` g `` | Reset | View reset options (soft/mixed/hard) for resetting onto selected item. | | ||||
| | `` <enter> `` | 檢視提交 |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## 檔案 | ||||
| @@ -292,37 +292,37 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | 複製檔案名稱到剪貼簿 |  | | ||||
| | `` <space> `` | 切換預存 |  | | ||||
| | `` <space> `` | 切換預存 | Toggle staged for selected file. | | ||||
| | `` <c-b> `` | 篩選檔案 (預存/未預存) |  | | ||||
| | `` y `` | Copy to clipboard |  | | ||||
| | `` c `` | 提交變更 |  | | ||||
| | `` c `` | 提交變更 | Commit staged changes. | | ||||
| | `` w `` | 沒有預提交 hook 就提交更改 |  | | ||||
| | `` A `` | 修正上次提交 |  | | ||||
| | `` C `` | 使用 git 編輯器提交變更 |  | | ||||
| | `` <c-f> `` | Find base commit for fixup | Find 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> | | ||||
| | `` e `` | 編輯檔案 |  | | ||||
| | `` o `` | 開啟檔案 |  | | ||||
| | `` e `` | Edit | Open file in external editor. | | ||||
| | `` o `` | 開啟檔案 | Open file in default application. | | ||||
| | `` i `` | 忽略或排除檔案 |  | | ||||
| | `` r `` | 重新整理檔案 |  | | ||||
| | `` s `` | 收藏所有變更 |  | | ||||
| | `` S `` | 檢視收藏選項 |  | | ||||
| | `` a `` | 全部預存/取消預存 |  | | ||||
| | `` <enter> `` | 選擇檔案中的單個程式碼塊/行,或展開/折疊目錄 |  | | ||||
| | `` d `` | 檢視“捨棄更改”的選項 |  | | ||||
| | `` s `` | Stash | Stash all changes. For other variations of stashing, use the view stash options keybinding. | | ||||
| | `` S `` | 檢視收藏選項 | View stash options (e.g. stash all, stash staged, stash unstaged). | | ||||
| | `` a `` | 全部預存/取消預存 | Toggle staged/unstaged for all files in working tree. | | ||||
| | `` <enter> `` | 選擇檔案中的單個程式碼塊/行,或展開/折疊目錄 | If 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. | | ||||
| | `` d `` | 檢視“捨棄更改”的選項 | View options for discarding changes to the selected file. | | ||||
| | `` g `` | 檢視上游重設選項 |  | | ||||
| | `` D `` | 檢視重設選項 |  | | ||||
| | `` ` `` | 切換檔案樹狀視圖 |  | | ||||
| | `` D `` | Reset | 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. | | ||||
| | `` <c-t> `` | Open external diff tool (git difftool) |  | | ||||
| | `` M `` | 開啟外部合併工具 (git mergetool) |  | | ||||
| | `` f `` | 擷取 |  | | ||||
| | `` M `` | 開啟外部合併工具 (git mergetool) | Run `git mergetool`. | | ||||
| | `` f `` | 擷取 | Fetch changes from remote. | | ||||
| | `` / `` | 開始搜尋 |  | | ||||
|  | ||||
| ## 狀態 | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` o `` | 開啟設定檔案 |  | | ||||
| | `` e `` | 編輯設定檔案 |  | | ||||
| | `` o `` | 開啟設定檔案 | Open file in default application. | | ||||
| | `` e `` | 編輯設定檔案 | Open file in external editor. | | ||||
| | `` u `` | 檢查更新 |  | | ||||
| | `` <enter> `` | 切換到最近使用的版本庫 |  | | ||||
| | `` a `` | 顯示所有分支日誌 |  | | ||||
| @@ -338,10 +338,11 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
|  | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` f `` | 擷取遠端 |  | | ||||
| | `` <enter> `` | View branches |  | | ||||
| | `` n `` | 新增遠端 |  | | ||||
| | `` d `` | 移除遠端 |  | | ||||
| | `` e `` | 編輯遠端 |  | | ||||
| | `` d `` | Remove | Remove the selected remote. Any local branches tracking a remote branch from the remote will be unaffected. | | ||||
| | `` e `` | Edit | 編輯遠端 | | ||||
| | `` f `` | 擷取 | 擷取遠端 | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|  | ||||
| ## 遠端分支 | ||||
| @@ -349,14 +350,14 @@ If you would instead like to start an interactive rebase from the selected commi | ||||
| | Key | Action | Info | | ||||
| |-----|--------|-------------| | ||||
| | `` <c-o> `` | 複製分支名稱到剪貼簿 |  | | ||||
| | `` <space> `` | 檢出 |  | | ||||
| | `` <space> `` | 檢出 | Checkout a new local branch based on the selected remote branch. The new branch will track the remote branch. | | ||||
| | `` n `` | 新分支 |  | | ||||
| | `` M `` | 合併到當前檢出的分支 |  | | ||||
| | `` r `` | 將已檢出的分支變基至此分支 |  | | ||||
| | `` d `` | Delete remote tag |  | | ||||
| | `` u `` | 將此分支設為當前分支之上游 |  | | ||||
| | `` M `` | 合併到當前檢出的分支 | Merge selected branch into currently checked out branch. | | ||||
| | `` r `` | 將已檢出的分支變基至此分支 | Rebase the checked-out branch onto the selected branch. | | ||||
| | `` d `` | Delete | Delete the remote branch from the remote. | | ||||
| | `` u `` | Set as upstream | 將此分支設為當前分支之上游 | | ||||
| | `` s `` | Sort order |  | | ||||
| | `` g `` | 檢視重設選項 |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` g `` | 檢視重設選項 | View reset options (soft/mixed/hard) for resetting onto selected item. | | ||||
| | `` <enter> `` | 檢視提交 |  | | ||||
| | `` w `` | View worktree options |  | | ||||
| | `` / `` | Filter the current view by text |  | | ||||
|   | ||||
| @@ -8,6 +8,7 @@ type Docs struct { | ||||
| 	Undoing           string | ||||
| 	Config            string | ||||
| 	Tutorial          string | ||||
| 	CustomPatchDemo   string | ||||
| } | ||||
|  | ||||
| var Links = struct { | ||||
| @@ -31,5 +32,6 @@ var Links = struct { | ||||
| 		Undoing:           "https://github.com/jesseduffield/lazygit/blob/master/docs/Undoing.md", | ||||
| 		Config:            "https://github.com/jesseduffield/lazygit/blob/master/docs/Config.md", | ||||
| 		Tutorial:          "https://youtu.be/VDXvbHZYeKY", | ||||
| 		CustomPatchDemo:   "https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches", | ||||
| 	}, | ||||
| } | ||||
|   | ||||
| @@ -16,6 +16,9 @@ func (gui *Gui) Helpers() *helpers.Helpers { | ||||
| 	return gui.helpers | ||||
| } | ||||
|  | ||||
| // Note, the order of controllers determines the order in which keybindings appear | ||||
| // in the keybinding menu: the earlier that the controller is attached to a context, | ||||
| // the lower in the list the keybindings will appear. | ||||
| func (gui *Gui) resetHelpersAndControllers() { | ||||
| 	helperCommon := gui.c | ||||
| 	recordDirectoryHelper := helpers.NewRecordDirectoryHelper(helperCommon) | ||||
| @@ -199,6 +202,18 @@ func (gui *Gui) resetHelpersAndControllers() { | ||||
| 		controllers.AttachControllers(context, searchControllerFactory.Create(context)) | ||||
| 	} | ||||
|  | ||||
| 	for _, context := range []controllers.CanViewWorktreeOptions{ | ||||
| 		gui.State.Contexts.LocalCommits, | ||||
| 		gui.State.Contexts.ReflogCommits, | ||||
| 		gui.State.Contexts.SubCommits, | ||||
| 		gui.State.Contexts.Stash, | ||||
| 		gui.State.Contexts.Branches, | ||||
| 		gui.State.Contexts.RemoteBranches, | ||||
| 		gui.State.Contexts.Tags, | ||||
| 	} { | ||||
| 		controllers.AttachControllers(context, controllers.NewWorktreeOptionsController(common, context)) | ||||
| 	} | ||||
|  | ||||
| 	// allow for navigating between side window contexts | ||||
| 	for _, context := range []types.Context{ | ||||
| 		gui.State.Contexts.Status, | ||||
| @@ -247,18 +262,6 @@ func (gui *Gui) resetHelpersAndControllers() { | ||||
| 		controllers.AttachControllers(context, controllers.NewBasicCommitsController(common, context)) | ||||
| 	} | ||||
|  | ||||
| 	for _, context := range []controllers.CanViewWorktreeOptions{ | ||||
| 		gui.State.Contexts.LocalCommits, | ||||
| 		gui.State.Contexts.ReflogCommits, | ||||
| 		gui.State.Contexts.SubCommits, | ||||
| 		gui.State.Contexts.Stash, | ||||
| 		gui.State.Contexts.Branches, | ||||
| 		gui.State.Contexts.RemoteBranches, | ||||
| 		gui.State.Contexts.Tags, | ||||
| 	} { | ||||
| 		controllers.AttachControllers(context, controllers.NewWorktreeOptionsController(common, context)) | ||||
| 	} | ||||
|  | ||||
| 	controllers.AttachControllers(gui.State.Contexts.ReflogCommits, | ||||
| 		reflogCommitsController, | ||||
| 	) | ||||
| @@ -306,11 +309,6 @@ func (gui *Gui) resetHelpersAndControllers() { | ||||
| 		submodulesController, | ||||
| 	) | ||||
|  | ||||
| 	controllers.AttachControllers(gui.State.Contexts.LocalCommits, | ||||
| 		localCommitsController, | ||||
| 		bisectController, | ||||
| 	) | ||||
|  | ||||
| 	controllers.AttachControllers(gui.State.Contexts.Branches, | ||||
| 		branchesController, | ||||
| 		gitFlowController, | ||||
| @@ -374,11 +372,11 @@ func (gui *Gui) resetHelpersAndControllers() { | ||||
| 	) | ||||
|  | ||||
| 	controllers.AttachControllers(gui.State.Contexts.Global, | ||||
| 		syncController, | ||||
| 		undoController, | ||||
| 		globalController, | ||||
| 		contextLinesController, | ||||
| 		jumpToSideWindowController, | ||||
| 		syncController, | ||||
| 	) | ||||
|  | ||||
| 	controllers.AttachControllers(gui.State.Contexts.Snake, | ||||
|   | ||||
| @@ -5,7 +5,9 @@ import ( | ||||
|  | ||||
| 	"github.com/jesseduffield/lazygit/pkg/commands/git_commands" | ||||
| 	"github.com/jesseduffield/lazygit/pkg/commands/models" | ||||
| 	"github.com/jesseduffield/lazygit/pkg/gui/keybindings" | ||||
| 	"github.com/jesseduffield/lazygit/pkg/gui/types" | ||||
| 	"github.com/jesseduffield/lazygit/pkg/utils" | ||||
| ) | ||||
|  | ||||
| // This controller is for all contexts that contain a list of commits. | ||||
| @@ -48,13 +50,15 @@ func (self *BasicCommitsController) GetKeybindings(opts types.KeybindingsOpts) [ | ||||
| 			Key:               opts.GetKey(opts.Config.Commits.CheckoutCommit), | ||||
| 			Handler:           self.withItem(self.checkout), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.CheckoutCommit, | ||||
| 			Description:       self.c.Tr.Checkout, | ||||
| 			Tooltip:           self.c.Tr.CheckoutCommitTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Commits.CopyCommitAttributeToClipboard), | ||||
| 			Handler:           self.withItem(self.copyCommitAttribute), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.CopyCommitAttributeToClipboard, | ||||
| 			Tooltip:           self.c.Tr.CopyCommitAttributeToClipboardTooltip, | ||||
| 			OpensMenu:         true, | ||||
| 		}, | ||||
| 		{ | ||||
| @@ -74,12 +78,19 @@ func (self *BasicCommitsController) GetKeybindings(opts types.KeybindingsOpts) [ | ||||
| 			Handler:           self.withItem(self.createResetMenu), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.ViewResetOptions, | ||||
| 			Tooltip:           self.c.Tr.ResetTooltip, | ||||
| 			OpensMenu:         true, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Commits.CherryPickCopy), | ||||
| 			Handler:     self.withItem(self.copyRange), | ||||
| 			Description: self.c.Tr.CherryPickCopy, | ||||
| 			Tooltip: utils.ResolvePlaceholderString(self.c.Tr.CherryPickCopyTooltip, | ||||
| 				map[string]string{ | ||||
| 					"paste":  keybindings.Label(opts.Config.Commits.PasteCommits), | ||||
| 					"escape": keybindings.Label(opts.Config.Universal.Return), | ||||
| 				}, | ||||
| 			), | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Commits.ResetCherryPick), | ||||
|   | ||||
| @@ -48,6 +48,7 @@ func (self *BranchesController) GetKeybindings(opts types.KeybindingsOpts) []*ty | ||||
| 				self.notPulling, | ||||
| 			), | ||||
| 			Description: self.c.Tr.Checkout, | ||||
| 			Tooltip:     self.c.Tr.CheckoutTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Universal.New), | ||||
| @@ -78,18 +79,21 @@ func (self *BranchesController) GetKeybindings(opts types.KeybindingsOpts) []*ty | ||||
| 			Key:         opts.GetKey(opts.Config.Branches.CheckoutBranchByName), | ||||
| 			Handler:     self.checkoutByName, | ||||
| 			Description: self.c.Tr.CheckoutByName, | ||||
| 			Tooltip:     self.c.Tr.CheckoutByNameTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Branches.ForceCheckoutBranch), | ||||
| 			Handler:           self.forceCheckout, | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.ForceCheckout, | ||||
| 			Tooltip:           self.c.Tr.ForceCheckoutTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Universal.Remove), | ||||
| 			Handler:           self.withItem(self.delete), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected(self.branchIsReal)), | ||||
| 			Description:       self.c.Tr.ViewDeleteOptions, | ||||
| 			Description:       self.c.Tr.Delete, | ||||
| 			Tooltip:           self.c.Tr.BranchDeleteTooltip, | ||||
| 			OpensMenu:         true, | ||||
| 		}, | ||||
| 		{ | ||||
| @@ -99,24 +103,27 @@ func (self *BranchesController) GetKeybindings(opts types.KeybindingsOpts) []*ty | ||||
| 				self.singleItemSelected(self.notRebasingOntoSelf), | ||||
| 			), | ||||
| 			Description: self.c.Tr.RebaseBranch, | ||||
| 			Tooltip:     self.c.Tr.RebaseBranchTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Branches.MergeIntoCurrentBranch), | ||||
| 			Handler:           opts.Guards.OutsideFilterMode(self.merge), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.MergeIntoCurrentBranch, | ||||
| 			Description:       self.c.Tr.Merge, | ||||
| 			Tooltip:           self.c.Tr.MergeBranchTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Branches.FastForward), | ||||
| 			Handler:           self.withItem(self.fastForward), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected(self.branchIsReal)), | ||||
| 			Description:       self.c.Tr.FastForward, | ||||
| 			Tooltip:           self.c.Tr.FastForwardTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Branches.CreateTag), | ||||
| 			Handler:           self.withItem(self.createTag), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.CreateTag, | ||||
| 			Description:       self.c.Tr.NewTag, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Branches.SortOrder), | ||||
| @@ -142,6 +149,7 @@ func (self *BranchesController) GetKeybindings(opts types.KeybindingsOpts) []*ty | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.ViewBranchUpstreamOptions, | ||||
| 			Tooltip:           self.c.Tr.ViewBranchUpstreamOptionsTooltip, | ||||
| 			ShortDescription:  self.c.Tr.Upstream, | ||||
| 			OpensMenu:         true, | ||||
| 		}, | ||||
| 	} | ||||
|   | ||||
| @@ -5,9 +5,11 @@ import ( | ||||
| 	"github.com/jesseduffield/lazygit/pkg/commands/git_commands" | ||||
| 	"github.com/jesseduffield/lazygit/pkg/commands/models" | ||||
| 	"github.com/jesseduffield/lazygit/pkg/commands/patch" | ||||
| 	"github.com/jesseduffield/lazygit/pkg/constants" | ||||
| 	"github.com/jesseduffield/lazygit/pkg/gui/context" | ||||
| 	"github.com/jesseduffield/lazygit/pkg/gui/filetree" | ||||
| 	"github.com/jesseduffield/lazygit/pkg/gui/types" | ||||
| 	"github.com/jesseduffield/lazygit/pkg/utils" | ||||
| ) | ||||
|  | ||||
| type CommitFilesController struct { | ||||
| @@ -39,25 +41,29 @@ func (self *CommitFilesController) GetKeybindings(opts types.KeybindingsOpts) [] | ||||
| 			Key:               opts.GetKey(opts.Config.CommitFiles.CheckoutCommitFile), | ||||
| 			Handler:           self.withItem(self.checkout), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.CheckoutCommitFile, | ||||
| 			Description:       self.c.Tr.Checkout, | ||||
| 			Tooltip:           self.c.Tr.CheckoutCommitFileTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Universal.Remove), | ||||
| 			Handler:           self.withItem(self.discard), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.DiscardOldFileChange, | ||||
| 			Description:       self.c.Tr.Remove, | ||||
| 			Tooltip:           self.c.Tr.DiscardOldFileChangeTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Universal.OpenFile), | ||||
| 			Handler:           self.withItem(self.open), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.OpenFile, | ||||
| 			Tooltip:           self.c.Tr.OpenFileTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Universal.Edit), | ||||
| 			Handler:           self.withItem(self.edit), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.EditFile, | ||||
| 			Description:       self.c.Tr.Edit, | ||||
| 			Tooltip:           self.c.Tr.EditFileTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Universal.OpenDiffTool), | ||||
| @@ -70,22 +76,30 @@ func (self *CommitFilesController) GetKeybindings(opts types.KeybindingsOpts) [] | ||||
| 			Handler:           self.withItem(self.toggleForPatch), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.ToggleAddToPatch, | ||||
| 			Tooltip: utils.ResolvePlaceholderString(self.c.Tr.ToggleAddToPatchTooltip, | ||||
| 				map[string]string{"doc": constants.Links.Docs.CustomPatchDemo}, | ||||
| 			), | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Files.ToggleStagedAll), | ||||
| 			Handler:     self.withItem(self.toggleAllForPatch), | ||||
| 			Description: self.c.Tr.ToggleAllInPatch, | ||||
| 			Tooltip: utils.ResolvePlaceholderString(self.c.Tr.ToggleAllInPatchTooltip, | ||||
| 				map[string]string{"doc": constants.Links.Docs.CustomPatchDemo}, | ||||
| 			), | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Universal.GoInto), | ||||
| 			Handler:           self.withItem(self.enter), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.EnterFile, | ||||
| 			Description:       self.c.Tr.EnterCommitFile, | ||||
| 			Tooltip:           self.c.Tr.EnterCommitFileTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Files.ToggleTreeView), | ||||
| 			Handler:     self.toggleTreeView, | ||||
| 			Description: self.c.Tr.ToggleTreeView, | ||||
| 			Tooltip:     self.c.Tr.ToggleTreeViewTooltip, | ||||
| 		}, | ||||
| 	} | ||||
|  | ||||
|   | ||||
| @@ -45,11 +45,13 @@ func (self *ContextLinesController) GetKeybindings(opts types.KeybindingsOpts) [ | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.IncreaseContextInDiffView), | ||||
| 			Handler:     self.Increase, | ||||
| 			Description: self.c.Tr.IncreaseContextInDiffView, | ||||
| 			Tooltip:     self.c.Tr.IncreaseContextInDiffViewTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.DecreaseContextInDiffView), | ||||
| 			Handler:     self.Decrease, | ||||
| 			Description: self.c.Tr.DecreaseContextInDiffView, | ||||
| 			Tooltip:     self.c.Tr.DecreaseContextInDiffViewTooltip, | ||||
| 		}, | ||||
| 	} | ||||
|  | ||||
|   | ||||
| @@ -25,16 +25,19 @@ func (self *CustomPatchOptionsMenuAction) Call() error { | ||||
| 	menuItems := []*types.MenuItem{ | ||||
| 		{ | ||||
| 			Label:   self.c.Tr.ResetPatch, | ||||
| 			Tooltip: self.c.Tr.ResetPatchTooltip, | ||||
| 			OnPress: self.c.Helpers().PatchBuilding.Reset, | ||||
| 			Key:     'c', | ||||
| 		}, | ||||
| 		{ | ||||
| 			Label:   self.c.Tr.ApplyPatch, | ||||
| 			Tooltip: self.c.Tr.ApplyPatchTooltip, | ||||
| 			OnPress: func() error { return self.handleApplyPatch(false) }, | ||||
| 			Key:     'a', | ||||
| 		}, | ||||
| 		{ | ||||
| 			Label:   self.c.Tr.ApplyPatchInReverse, | ||||
| 			Tooltip: self.c.Tr.ApplyPatchInReverseTooltip, | ||||
| 			OnPress: func() error { return self.handleApplyPatch(true) }, | ||||
| 			Key:     'r', | ||||
| 		}, | ||||
| @@ -44,16 +47,19 @@ func (self *CustomPatchOptionsMenuAction) Call() error { | ||||
| 		menuItems = append(menuItems, []*types.MenuItem{ | ||||
| 			{ | ||||
| 				Label:   fmt.Sprintf(self.c.Tr.RemovePatchFromOriginalCommit, self.c.Git().Patch.PatchBuilder.To), | ||||
| 				Tooltip: self.c.Tr.RemovePatchFromOriginalCommitTooltip, | ||||
| 				OnPress: self.handleDeletePatchFromCommit, | ||||
| 				Key:     'd', | ||||
| 			}, | ||||
| 			{ | ||||
| 				Label:   self.c.Tr.MovePatchOutIntoIndex, | ||||
| 				Tooltip: self.c.Tr.MovePatchOutIntoIndexTooltip, | ||||
| 				OnPress: self.handleMovePatchIntoWorkingTree, | ||||
| 				Key:     'i', | ||||
| 			}, | ||||
| 			{ | ||||
| 				Label:   self.c.Tr.MovePatchIntoNewCommit, | ||||
| 				Tooltip: self.c.Tr.MovePatchIntoNewCommitTooltip, | ||||
| 				OnPress: self.handlePullPatchIntoNewCommit, | ||||
| 				Key:     'n', | ||||
| 			}, | ||||
| @@ -75,6 +81,7 @@ func (self *CustomPatchOptionsMenuAction) Call() error { | ||||
| 						[]*types.MenuItem{ | ||||
| 							{ | ||||
| 								Label:          fmt.Sprintf(self.c.Tr.MovePatchToSelectedCommit, selectedCommit.Sha), | ||||
| 								Tooltip:        self.c.Tr.MovePatchToSelectedCommitTooltip, | ||||
| 								OnPress:        self.handleMovePatchToSelectedCommit, | ||||
| 								Key:            'm', | ||||
| 								DisabledReason: disabledReason, | ||||
|   | ||||
| @@ -41,7 +41,8 @@ func (self *FilesController) GetKeybindings(opts types.KeybindingsOpts) []*types | ||||
| 			Key:               opts.GetKey(opts.Config.Universal.Select), | ||||
| 			Handler:           self.withItems(self.press), | ||||
| 			GetDisabledReason: self.require(self.itemsSelected()), | ||||
| 			Description:       self.c.Tr.ToggleStaged, | ||||
| 			Description:       self.c.Tr.Stage, | ||||
| 			Tooltip:           self.c.Tr.StageTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Files.OpenStatusFilter), | ||||
| @@ -57,7 +58,8 @@ func (self *FilesController) GetKeybindings(opts types.KeybindingsOpts) []*types | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Files.CommitChanges), | ||||
| 			Handler:     self.c.Helpers().WorkingTree.HandleCommitPress, | ||||
| 			Description: self.c.Tr.CommitChanges, | ||||
| 			Description: self.c.Tr.Commit, | ||||
| 			Tooltip:     self.c.Tr.CommitTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Files.CommitChangesWithoutHook), | ||||
| @@ -84,13 +86,15 @@ func (self *FilesController) GetKeybindings(opts types.KeybindingsOpts) []*types | ||||
| 			Key:               opts.GetKey(opts.Config.Universal.Edit), | ||||
| 			Handler:           self.withItem(self.edit), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.EditFile, | ||||
| 			Description:       self.c.Tr.Edit, | ||||
| 			Tooltip:           self.c.Tr.EditFileTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Universal.OpenFile), | ||||
| 			Handler:           self.Open, | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.OpenFile, | ||||
| 			Tooltip:           self.c.Tr.OpenFileTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Files.IgnoreFile), | ||||
| @@ -107,30 +111,35 @@ func (self *FilesController) GetKeybindings(opts types.KeybindingsOpts) []*types | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Files.StashAllChanges), | ||||
| 			Handler:     self.stash, | ||||
| 			Description: self.c.Tr.StashAllChanges, | ||||
| 			Description: self.c.Tr.Stash, | ||||
| 			Tooltip:     self.c.Tr.StashTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Files.ViewStashOptions), | ||||
| 			Handler:     self.createStashMenu, | ||||
| 			Description: self.c.Tr.ViewStashOptions, | ||||
| 			Tooltip:     self.c.Tr.ViewStashOptionsTooltip, | ||||
| 			OpensMenu:   true, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Files.ToggleStagedAll), | ||||
| 			Handler:     self.toggleStagedAll, | ||||
| 			Description: self.c.Tr.ToggleStagedAll, | ||||
| 			Tooltip:     self.c.Tr.ToggleStagedAllTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Universal.GoInto), | ||||
| 			Handler:           self.enter, | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.FileEnter, | ||||
| 			Tooltip:           self.c.Tr.FileEnterTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Universal.Remove), | ||||
| 			Handler:           self.withItems(self.remove), | ||||
| 			GetDisabledReason: self.require(self.itemsSelected(self.canRemove)), | ||||
| 			Description:       self.c.Tr.ViewDiscardOptions, | ||||
| 			Description:       self.c.Tr.Discard, | ||||
| 			Tooltip:           self.c.Tr.DiscardFileChangesTooltip, | ||||
| 			OpensMenu:         true, | ||||
| 		}, | ||||
| 		{ | ||||
| @@ -142,13 +151,15 @@ func (self *FilesController) GetKeybindings(opts types.KeybindingsOpts) []*types | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Files.ViewResetOptions), | ||||
| 			Handler:     self.createResetMenu, | ||||
| 			Description: self.c.Tr.ViewResetOptions, | ||||
| 			Description: self.c.Tr.Reset, | ||||
| 			Tooltip:     self.c.Tr.FileResetOptionsTooltip, | ||||
| 			OpensMenu:   true, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Files.ToggleTreeView), | ||||
| 			Handler:     self.toggleTreeView, | ||||
| 			Description: self.c.Tr.ToggleTreeView, | ||||
| 			Tooltip:     self.c.Tr.ToggleTreeViewTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Universal.OpenDiffTool), | ||||
| @@ -160,11 +171,13 @@ func (self *FilesController) GetKeybindings(opts types.KeybindingsOpts) []*types | ||||
| 			Key:         opts.GetKey(opts.Config.Files.OpenMergeTool), | ||||
| 			Handler:     self.c.Helpers().WorkingTree.OpenMergeTool, | ||||
| 			Description: self.c.Tr.OpenMergeTool, | ||||
| 			Tooltip:     self.c.Tr.OpenMergeToolTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Files.Fetch), | ||||
| 			Handler:     self.fetch, | ||||
| 			Description: self.c.Tr.Fetch, | ||||
| 			Tooltip:     self.c.Tr.FetchTooltip, | ||||
| 		}, | ||||
| 	} | ||||
| } | ||||
|   | ||||
| @@ -25,6 +25,8 @@ func (self *GlobalController) GetKeybindings(opts types.KeybindingsOpts) []*type | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.ExecuteCustomCommand), | ||||
| 			Handler:     self.customCommand, | ||||
| 			Description: self.c.Tr.ExecuteCustomCommand, | ||||
| 			Tooltip:     self.c.Tr.ExecuteCustomCommandTooltip, | ||||
| 			OpensMenu:   true, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.CreatePatchOptionsMenu), | ||||
| @@ -36,12 +38,14 @@ func (self *GlobalController) GetKeybindings(opts types.KeybindingsOpts) []*type | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.CreateRebaseOptionsMenu), | ||||
| 			Handler:     self.c.Helpers().MergeAndRebase.CreateRebaseOptionsMenu, | ||||
| 			Description: self.c.Tr.ViewMergeRebaseOptions, | ||||
| 			Tooltip:     self.c.Tr.ViewMergeRebaseOptionsTooltip, | ||||
| 			OpensMenu:   true, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.Refresh), | ||||
| 			Handler:     self.refresh, | ||||
| 			Description: self.c.Tr.Refresh, | ||||
| 			Tooltip:     self.c.Tr.RefreshTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.NextScreenMode), | ||||
| @@ -65,32 +69,37 @@ func (self *GlobalController) GetKeybindings(opts types.KeybindingsOpts) []*type | ||||
| 			Modifier: gocui.ModNone, | ||||
| 			// we have the description on the alt key and not the main key for legacy reasons | ||||
| 			// (the original main key was 'x' but we've reassigned that to other purposes) | ||||
| 			Description: self.c.Tr.OpenMenu, | ||||
| 			Handler:     self.createOptionsMenu, | ||||
| 			Description:      self.c.Tr.OpenKeybindingsMenu, | ||||
| 			Handler:          self.createOptionsMenu, | ||||
| 			ShortDescription: self.c.Tr.Keybindings, | ||||
| 		}, | ||||
| 		{ | ||||
| 			ViewName:    "", | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.FilteringMenu), | ||||
| 			Handler:     self.createFilteringMenu, | ||||
| 			Description: self.c.Tr.OpenFilteringMenu, | ||||
| 			Tooltip:     self.c.Tr.OpenFilteringMenuTooltip, | ||||
| 			OpensMenu:   true, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.DiffingMenu), | ||||
| 			Handler:     self.createDiffingMenu, | ||||
| 			Description: self.c.Tr.OpenDiffingMenu, | ||||
| 			Description: self.c.Tr.ViewDiffingOptions, | ||||
| 			Tooltip:     self.c.Tr.ViewDiffingOptionsTooltip, | ||||
| 			OpensMenu:   true, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.DiffingMenuAlt), | ||||
| 			Handler:     self.createDiffingMenu, | ||||
| 			Description: self.c.Tr.OpenDiffingMenu, | ||||
| 			Description: self.c.Tr.ViewDiffingOptions, | ||||
| 			Tooltip:     self.c.Tr.ViewDiffingOptionsTooltip, | ||||
| 			OpensMenu:   true, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:      opts.GetKey(opts.Config.Universal.Quit), | ||||
| 			Modifier: gocui.ModNone, | ||||
| 			Handler:  self.quit, | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.Quit), | ||||
| 			Modifier:    gocui.ModNone, | ||||
| 			Description: self.c.Tr.Quit, | ||||
| 			Handler:     self.quit, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:      opts.GetKey(opts.Config.Universal.QuitAlt1), | ||||
| @@ -103,14 +112,16 @@ func (self *GlobalController) GetKeybindings(opts types.KeybindingsOpts) []*type | ||||
| 			Handler:  self.quitWithoutChangingDirectory, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:      opts.GetKey(opts.Config.Universal.Return), | ||||
| 			Modifier: gocui.ModNone, | ||||
| 			Handler:  self.escape, | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.Return), | ||||
| 			Modifier:    gocui.ModNone, | ||||
| 			Handler:     self.escape, | ||||
| 			Description: self.c.Tr.Cancel, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.ToggleWhitespaceInDiffView), | ||||
| 			Handler:     self.toggleWhitespace, | ||||
| 			Description: self.c.Tr.ToggleWhitespaceInDiffView, | ||||
| 			Tooltip:     self.c.Tr.ToggleWhitespaceInDiffViewTooltip, | ||||
| 		}, | ||||
| 	} | ||||
| } | ||||
|   | ||||
| @@ -11,6 +11,7 @@ import ( | ||||
| 	"github.com/jesseduffield/lazygit/pkg/gui/context" | ||||
| 	"github.com/jesseduffield/lazygit/pkg/gui/controllers/helpers" | ||||
| 	"github.com/jesseduffield/lazygit/pkg/gui/keybindings" | ||||
| 	"github.com/jesseduffield/lazygit/pkg/gui/style" | ||||
| 	"github.com/jesseduffield/lazygit/pkg/gui/types" | ||||
| 	"github.com/jesseduffield/lazygit/pkg/utils" | ||||
| 	"github.com/samber/lo" | ||||
| @@ -63,7 +64,8 @@ func (self *LocalCommitsController) GetKeybindings(opts types.KeybindingsOpts) [ | ||||
| 					self.canSquashOrFixup, | ||||
| 				), | ||||
| 			), | ||||
| 			Description: self.c.Tr.SquashDown, | ||||
| 			Description: self.c.Tr.Squash, | ||||
| 			Tooltip:     self.c.Tr.SquashTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:     opts.GetKey(opts.Config.Commits.MarkCommitAsFixup), | ||||
| @@ -74,7 +76,8 @@ func (self *LocalCommitsController) GetKeybindings(opts types.KeybindingsOpts) [ | ||||
| 					self.canSquashOrFixup, | ||||
| 				), | ||||
| 			), | ||||
| 			Description: self.c.Tr.FixupCommit, | ||||
| 			Description: self.c.Tr.Fixup, | ||||
| 			Tooltip:     self.c.Tr.FixupTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:     opts.GetKey(opts.Config.Commits.RenameCommit), | ||||
| @@ -82,7 +85,9 @@ func (self *LocalCommitsController) GetKeybindings(opts types.KeybindingsOpts) [ | ||||
| 			GetDisabledReason: self.require( | ||||
| 				self.singleItemSelected(self.rewordEnabled), | ||||
| 			), | ||||
| 			Description: self.c.Tr.RewordCommit, | ||||
| 			Description: self.c.Tr.Reword, | ||||
| 			Tooltip:     self.c.Tr.CommitRewordTooltip, | ||||
| 			OpensMenu:   true, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:     opts.GetKey(opts.Config.Commits.RenameCommitWithEditor), | ||||
| @@ -90,7 +95,7 @@ func (self *LocalCommitsController) GetKeybindings(opts types.KeybindingsOpts) [ | ||||
| 			GetDisabledReason: self.require( | ||||
| 				self.singleItemSelected(self.rewordEnabled), | ||||
| 			), | ||||
| 			Description: self.c.Tr.RenameCommitEditor, | ||||
| 			Description: self.c.Tr.RewordCommitEditor, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:     opts.GetKey(opts.Config.Universal.Remove), | ||||
| @@ -100,7 +105,8 @@ func (self *LocalCommitsController) GetKeybindings(opts types.KeybindingsOpts) [ | ||||
| 					self.midRebaseCommandEnabled, | ||||
| 				), | ||||
| 			), | ||||
| 			Description: self.c.Tr.DeleteCommit, | ||||
| 			Description: self.c.Tr.DropCommit, | ||||
| 			Tooltip:     self.c.Tr.DropCommitTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:     opts.GetKey(editCommitKey), | ||||
| @@ -109,7 +115,9 @@ func (self *LocalCommitsController) GetKeybindings(opts types.KeybindingsOpts) [ | ||||
| 			GetDisabledReason: self.require( | ||||
| 				self.itemRangeSelected(self.midRebaseCommandEnabled), | ||||
| 			), | ||||
| 			Description: self.c.Tr.EditCommit, | ||||
| 			Description:      self.c.Tr.EditCommit, | ||||
| 			ShortDescription: self.c.Tr.Edit, | ||||
| 			Tooltip:          self.c.Tr.EditCommitTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			// The user-facing description here is 'Start interactive rebase' but internally | ||||
| @@ -129,13 +137,20 @@ func (self *LocalCommitsController) GetKeybindings(opts types.KeybindingsOpts) [ | ||||
| 			GetDisabledReason: self.require( | ||||
| 				self.itemRangeSelected(self.pickEnabled), | ||||
| 			), | ||||
| 			Description: self.c.Tr.PickCommit, | ||||
| 			Description: self.c.Tr.Pick, | ||||
| 			Tooltip:     self.c.Tr.PickCommitTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Commits.CreateFixupCommit), | ||||
| 			Handler:           self.withItem(self.createFixupCommit), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.CreateFixupCommitDescription, | ||||
| 			Tooltip: utils.ResolvePlaceholderString( | ||||
| 				self.c.Tr.CreateFixupCommitTooltip, | ||||
| 				map[string]string{ | ||||
| 					"squashAbove": keybindings.Label(opts.Config.Commits.SquashAboveCommits), | ||||
| 				}, | ||||
| 			), | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:     opts.GetKey(opts.Config.Commits.SquashAboveCommits), | ||||
| @@ -145,6 +160,7 @@ func (self *LocalCommitsController) GetKeybindings(opts types.KeybindingsOpts) [ | ||||
| 				self.singleItemSelected(), | ||||
| 			), | ||||
| 			Description: self.c.Tr.SquashAboveCommits, | ||||
| 			Tooltip:     self.c.Tr.SquashAboveCommitsTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:     opts.GetKey(opts.Config.Commits.MoveDownCommit), | ||||
| @@ -169,6 +185,7 @@ func (self *LocalCommitsController) GetKeybindings(opts types.KeybindingsOpts) [ | ||||
| 			Handler:           self.paste, | ||||
| 			GetDisabledReason: self.require(self.canPaste), | ||||
| 			Description:       self.c.Tr.PasteCommits, | ||||
| 			DisplayStyle:      &style.FgCyan, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Commits.MarkCommitAsBaseForRebase), | ||||
| @@ -202,31 +219,36 @@ func (self *LocalCommitsController) GetKeybindings(opts types.KeybindingsOpts) [ | ||||
| 			Key:               opts.GetKey(opts.Config.Commits.AmendToCommit), | ||||
| 			Handler:           self.withItem(self.amendTo), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected(self.canAmend)), | ||||
| 			Description:       self.c.Tr.AmendToCommit, | ||||
| 			Description:       self.c.Tr.Amend, | ||||
| 			Tooltip:           self.c.Tr.AmendCommitTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Commits.ResetCommitAuthor), | ||||
| 			Handler:           self.withItem(self.amendAttribute), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected(self.canAmend)), | ||||
| 			Description:       self.c.Tr.SetResetCommitAuthor, | ||||
| 			Description:       self.c.Tr.AmendCommitAttribute, | ||||
| 			Tooltip:           self.c.Tr.AmendCommitAttributeTooltip, | ||||
| 			OpensMenu:         true, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Commits.RevertCommit), | ||||
| 			Handler:           self.withItem(self.revert), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.RevertCommit, | ||||
| 			Description:       self.c.Tr.Revert, | ||||
| 			Tooltip:           self.c.Tr.RevertCommitTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Commits.CreateTag), | ||||
| 			Handler:           self.withItem(self.createTag), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.TagCommit, | ||||
| 			Tooltip:           self.c.Tr.TagCommitTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Commits.OpenLogMenu), | ||||
| 			Handler:     self.handleOpenLogMenu, | ||||
| 			Description: self.c.Tr.OpenLogMenu, | ||||
| 			Tooltip:     self.c.Tr.OpenLogMenuTooltip, | ||||
| 			OpensMenu:   true, | ||||
| 		}, | ||||
| 	}...) | ||||
|   | ||||
| @@ -28,14 +28,24 @@ func NewMergeConflictsController( | ||||
| func (self *MergeConflictsController) GetKeybindings(opts types.KeybindingsOpts) []*types.Binding { | ||||
| 	bindings := []*types.Binding{ | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.Edit), | ||||
| 			Handler:     self.HandleEditFile, | ||||
| 			Description: self.c.Tr.EditFile, | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.Select), | ||||
| 			Handler:     self.withRenderAndFocus(self.HandlePickHunk), | ||||
| 			Description: self.c.Tr.PickHunk, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.OpenFile), | ||||
| 			Handler:     self.HandleOpenFile, | ||||
| 			Description: self.c.Tr.OpenFile, | ||||
| 			Key:         opts.GetKey(opts.Config.Main.PickBothHunks), | ||||
| 			Handler:     self.withRenderAndFocus(self.HandlePickAllHunks), | ||||
| 			Description: self.c.Tr.PickAllHunks, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.PrevItem), | ||||
| 			Handler:     self.withRenderAndFocus(self.PrevConflictHunk), | ||||
| 			Description: self.c.Tr.SelectPrevHunk, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.NextItem), | ||||
| 			Handler:     self.withRenderAndFocus(self.NextConflictHunk), | ||||
| 			Description: self.c.Tr.SelectNextHunk, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.PrevBlock), | ||||
| @@ -50,17 +60,25 @@ func (self *MergeConflictsController) GetKeybindings(opts types.KeybindingsOpts) | ||||
| 			Display:     true, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.PrevItem), | ||||
| 			Handler:     self.withRenderAndFocus(self.PrevConflictHunk), | ||||
| 			Description: self.c.Tr.SelectPrevHunk, | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.Undo), | ||||
| 			Handler:     self.withRenderAndFocus(self.HandleUndo), | ||||
| 			Description: self.c.Tr.Undo, | ||||
| 			Tooltip:     self.c.Tr.UndoMergeResolveTooltip, | ||||
| 			Display:     true, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.NextItem), | ||||
| 			Handler:     self.withRenderAndFocus(self.NextConflictHunk), | ||||
| 			Description: self.c.Tr.SelectNextHunk, | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.Edit), | ||||
| 			Handler:     self.HandleEditFile, | ||||
| 			Description: self.c.Tr.EditFile, | ||||
| 			Tooltip:     self.c.Tr.EditFileTooltip, | ||||
| 			Display:     true, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.OpenFile), | ||||
| 			Handler:     self.HandleOpenFile, | ||||
| 			Description: self.c.Tr.OpenFile, | ||||
| 			Tooltip:     self.c.Tr.OpenFileTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:     opts.GetKey(opts.Config.Universal.PrevBlockAlt), | ||||
| 			Handler: self.withRenderAndFocus(self.PrevConflict), | ||||
| @@ -89,27 +107,11 @@ func (self *MergeConflictsController) GetKeybindings(opts types.KeybindingsOpts) | ||||
| 			Description: self.c.Tr.ScrollRight, | ||||
| 			Tag:         "navigation", | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.Undo), | ||||
| 			Handler:     self.withRenderAndFocus(self.HandleUndo), | ||||
| 			Description: self.c.Tr.Undo, | ||||
| 			Display:     true, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Files.OpenMergeTool), | ||||
| 			Handler:     self.c.Helpers().WorkingTree.OpenMergeTool, | ||||
| 			Description: self.c.Tr.OpenMergeTool, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.Select), | ||||
| 			Handler:     self.withRenderAndFocus(self.HandlePickHunk), | ||||
| 			Description: self.c.Tr.PickHunk, | ||||
| 			Display:     true, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Main.PickBothHunks), | ||||
| 			Handler:     self.withRenderAndFocus(self.HandlePickAllHunks), | ||||
| 			Description: self.c.Tr.PickAllHunks, | ||||
| 			Tooltip:     self.c.Tr.OpenMergeToolTooltip, | ||||
| 			Display:     true, | ||||
| 		}, | ||||
| 		{ | ||||
|   | ||||
| @@ -28,11 +28,13 @@ func (self *PatchBuildingController) GetKeybindings(opts types.KeybindingsOpts) | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.OpenFile), | ||||
| 			Handler:     self.OpenFile, | ||||
| 			Description: self.c.Tr.OpenFile, | ||||
| 			Tooltip:     self.c.Tr.OpenFileTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.Edit), | ||||
| 			Handler:     self.EditFile, | ||||
| 			Description: self.c.Tr.EditFile, | ||||
| 			Tooltip:     self.c.Tr.EditFileTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.Select), | ||||
|   | ||||
| @@ -95,6 +95,7 @@ func (self *PatchExplorerController) GetKeybindings(opts types.KeybindingsOpts) | ||||
| 			Key:         opts.GetKey(opts.Config.Main.ToggleSelectHunk), | ||||
| 			Handler:     self.withRenderAndFocus(self.HandleToggleSelectHunk), | ||||
| 			Description: self.c.Tr.ToggleSelectHunk, | ||||
| 			Tooltip:     self.c.Tr.ToggleSelectHunkTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Tag:         "navigation", | ||||
| @@ -133,7 +134,7 @@ func (self *PatchExplorerController) GetKeybindings(opts types.KeybindingsOpts) | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.CopyToClipboard), | ||||
| 			Handler:     self.withLock(self.CopySelectedToClipboard), | ||||
| 			Description: self.c.Tr.CopySelectedTexToClipboard, | ||||
| 			Description: self.c.Tr.CopySelectedTextToClipboard, | ||||
| 		}, | ||||
| 	} | ||||
| } | ||||
|   | ||||
| @@ -40,6 +40,7 @@ func (self *RemoteBranchesController) GetKeybindings(opts types.KeybindingsOpts) | ||||
| 			Handler:           self.withItem(self.newLocalBranch), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.Checkout, | ||||
| 			Tooltip:           self.c.Tr.RemoteBranchCheckoutTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Universal.New), | ||||
| @@ -51,25 +52,29 @@ func (self *RemoteBranchesController) GetKeybindings(opts types.KeybindingsOpts) | ||||
| 			Key:               opts.GetKey(opts.Config.Branches.MergeIntoCurrentBranch), | ||||
| 			Handler:           opts.Guards.OutsideFilterMode(self.withItem(self.merge)), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.MergeIntoCurrentBranch, | ||||
| 			Description:       self.c.Tr.Merge, | ||||
| 			Tooltip:           self.c.Tr.MergeBranchTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Branches.RebaseBranch), | ||||
| 			Handler:           opts.Guards.OutsideFilterMode(self.withItem(self.rebase)), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.RebaseBranch, | ||||
| 			Tooltip:           self.c.Tr.RebaseBranchTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Universal.Remove), | ||||
| 			Handler:           self.withItem(self.delete), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.DeleteRemoteTag, | ||||
| 			Description:       self.c.Tr.Delete, | ||||
| 			Tooltip:           self.c.Tr.DeleteRemoteBranchTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Branches.SetUpstream), | ||||
| 			Handler:           self.withItem(self.setAsUpstream), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.SetAsUpstream, | ||||
| 			Tooltip:           self.c.Tr.SetAsUpstreamTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Branches.SortOrder), | ||||
| @@ -82,6 +87,7 @@ func (self *RemoteBranchesController) GetKeybindings(opts types.KeybindingsOpts) | ||||
| 			Handler:           self.withItem(self.createResetMenu), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.ViewResetOptions, | ||||
| 			Tooltip:           self.c.Tr.ResetTooltip, | ||||
| 			OpensMenu:         true, | ||||
| 		}, | ||||
| 	} | ||||
|   | ||||
| @@ -45,29 +45,33 @@ func (self *RemotesController) GetKeybindings(opts types.KeybindingsOpts) []*typ | ||||
| 			Key:               opts.GetKey(opts.Config.Universal.GoInto), | ||||
| 			Handler:           self.withItem(self.enter), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Branches.FetchRemote), | ||||
| 			Handler:           self.withItem(self.fetch), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.FetchRemote, | ||||
| 			Description:       self.c.Tr.ViewBranches, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.New), | ||||
| 			Handler:     self.add, | ||||
| 			Description: self.c.Tr.AddNewRemote, | ||||
| 			Description: self.c.Tr.NewRemote, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Universal.Remove), | ||||
| 			Handler:           self.withItem(self.remove), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.RemoveRemote, | ||||
| 			Description:       self.c.Tr.Remove, | ||||
| 			Tooltip:           self.c.Tr.RemoveRemoteTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Universal.Edit), | ||||
| 			Handler:           self.withItem(self.edit), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.EditRemote, | ||||
| 			Description:       self.c.Tr.Edit, | ||||
| 			Tooltip:           self.c.Tr.EditRemoteTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Branches.FetchRemote), | ||||
| 			Handler:           self.withItem(self.fetch), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.Fetch, | ||||
| 			Tooltip:           self.c.Tr.FetchRemoteTooltip, | ||||
| 		}, | ||||
| 	} | ||||
|  | ||||
|   | ||||
| @@ -39,15 +39,29 @@ func NewStagingController( | ||||
|  | ||||
| func (self *StagingController) GetKeybindings(opts types.KeybindingsOpts) []*types.Binding { | ||||
| 	return []*types.Binding{ | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.Select), | ||||
| 			Handler:     self.ToggleStaged, | ||||
| 			Description: self.c.Tr.Stage, | ||||
| 			Tooltip:     self.c.Tr.StageSelectionTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.Remove), | ||||
| 			Handler:     self.DiscardSelection, | ||||
| 			Description: self.c.Tr.DiscardSelection, | ||||
| 			Tooltip:     self.c.Tr.DiscardSelectionTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.OpenFile), | ||||
| 			Handler:     self.OpenFile, | ||||
| 			Description: self.c.Tr.OpenFile, | ||||
| 			Tooltip:     self.c.Tr.OpenFileTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.Edit), | ||||
| 			Handler:     self.EditFile, | ||||
| 			Description: self.c.Tr.EditFile, | ||||
| 			Tooltip:     self.c.Tr.EditFileTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.Return), | ||||
| @@ -57,27 +71,20 @@ func (self *StagingController) GetKeybindings(opts types.KeybindingsOpts) []*typ | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.TogglePanel), | ||||
| 			Handler:     self.TogglePanel, | ||||
| 			Description: self.c.Tr.ToggleStagingPanel, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.Select), | ||||
| 			Handler:     self.ToggleStaged, | ||||
| 			Description: self.c.Tr.StageSelection, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.Remove), | ||||
| 			Handler:     self.DiscardSelection, | ||||
| 			Description: self.c.Tr.DiscardSelection, | ||||
| 			Description: self.c.Tr.ToggleStagingView, | ||||
| 			Tooltip:     self.c.Tr.ToggleStagingViewTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Main.EditSelectHunk), | ||||
| 			Handler:     self.EditHunkAndRefresh, | ||||
| 			Description: self.c.Tr.EditHunk, | ||||
| 			Tooltip:     self.c.Tr.EditHunkTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Files.CommitChanges), | ||||
| 			Handler:     self.c.Helpers().WorkingTree.HandleCommitPress, | ||||
| 			Description: self.c.Tr.CommitChanges, | ||||
| 			Description: self.c.Tr.Commit, | ||||
| 			Tooltip:     self.c.Tr.CommitTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Files.CommitChangesWithoutHook), | ||||
|   | ||||
| @@ -37,24 +37,28 @@ func (self *StashController) GetKeybindings(opts types.KeybindingsOpts) []*types | ||||
| 			Handler:           self.withItem(self.handleStashApply), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.Apply, | ||||
| 			Tooltip:           self.c.Tr.StashApplyTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Stash.PopStash), | ||||
| 			Handler:           self.withItem(self.handleStashPop), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.Pop, | ||||
| 			Tooltip:           self.c.Tr.StashPopTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Universal.Remove), | ||||
| 			Handler:           self.withItem(self.handleStashDrop), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.Drop, | ||||
| 			Tooltip:           self.c.Tr.StashDropTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Universal.New), | ||||
| 			Handler:           self.withItem(self.handleNewBranchOffStashEntry), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.NewBranch, | ||||
| 			Tooltip:           self.c.Tr.NewBranchFromStashTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Stash.RenameStash), | ||||
|   | ||||
| @@ -36,11 +36,13 @@ func (self *StatusController) GetKeybindings(opts types.KeybindingsOpts) []*type | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.OpenFile), | ||||
| 			Handler:     self.openConfig, | ||||
| 			Description: self.c.Tr.OpenConfig, | ||||
| 			Tooltip:     self.c.Tr.OpenFileTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.Edit), | ||||
| 			Handler:     self.editConfig, | ||||
| 			Description: self.c.Tr.EditConfig, | ||||
| 			Tooltip:     self.c.Tr.EditFileTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Status.CheckForUpdate), | ||||
|   | ||||
| @@ -8,8 +8,10 @@ import ( | ||||
| 	"github.com/jesseduffield/gocui" | ||||
| 	"github.com/jesseduffield/lazygit/pkg/commands/models" | ||||
| 	"github.com/jesseduffield/lazygit/pkg/gui/context" | ||||
| 	"github.com/jesseduffield/lazygit/pkg/gui/keybindings" | ||||
| 	"github.com/jesseduffield/lazygit/pkg/gui/style" | ||||
| 	"github.com/jesseduffield/lazygit/pkg/gui/types" | ||||
| 	"github.com/jesseduffield/lazygit/pkg/utils" | ||||
| ) | ||||
|  | ||||
| type SubmodulesController struct { | ||||
| @@ -41,30 +43,33 @@ func (self *SubmodulesController) GetKeybindings(opts types.KeybindingsOpts) []* | ||||
| 			Key:               opts.GetKey(opts.Config.Universal.GoInto), | ||||
| 			Handler:           self.withItem(self.enter), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.EnterSubmodule, | ||||
| 			Description:       self.c.Tr.Enter, | ||||
| 			Tooltip: utils.ResolvePlaceholderString(self.c.Tr.EnterSubmoduleTooltip, | ||||
| 				map[string]string{"escape": keybindings.Label(opts.Config.Universal.Return)}), | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Universal.Select), | ||||
| 			Handler:           self.withItem(self.enter), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.EnterSubmodule, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Universal.Remove), | ||||
| 			Handler:           self.withItem(self.remove), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.RemoveSubmodule, | ||||
| 			Description:       self.c.Tr.Remove, | ||||
| 			Tooltip:           self.c.Tr.RemoveSubmoduleTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Submodules.Update), | ||||
| 			Handler:           self.withItem(self.update), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.SubmoduleUpdate, | ||||
| 			Description:       self.c.Tr.Update, | ||||
| 			Tooltip:           self.c.Tr.SubmoduleUpdateTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.New), | ||||
| 			Handler:     self.add, | ||||
| 			Description: self.c.Tr.AddSubmodule, | ||||
| 			Description: self.c.Tr.NewSubmodule, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Universal.Edit), | ||||
| @@ -76,7 +81,8 @@ func (self *SubmodulesController) GetKeybindings(opts types.KeybindingsOpts) []* | ||||
| 			Key:               opts.GetKey(opts.Config.Submodules.Init), | ||||
| 			Handler:           self.withItem(self.init), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.InitSubmodule, | ||||
| 			Description:       self.c.Tr.Initialize, | ||||
| 			Tooltip:           self.c.Tr.InitSubmoduleTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Submodules.BulkMenu), | ||||
|   | ||||
| @@ -35,12 +35,14 @@ func (self *SyncController) GetKeybindings(opts types.KeybindingsOpts) []*types. | ||||
| 			Handler:           opts.Guards.NoPopupPanel(self.HandlePush), | ||||
| 			GetDisabledReason: self.getDisabledReasonForPushOrPull, | ||||
| 			Description:       self.c.Tr.Push, | ||||
| 			Tooltip:           self.c.Tr.PushTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Universal.Pull), | ||||
| 			Handler:           opts.Guards.NoPopupPanel(self.HandlePull), | ||||
| 			GetDisabledReason: self.getDisabledReasonForPushOrPull, | ||||
| 			Description:       self.c.Tr.Pull, | ||||
| 			Tooltip:           self.c.Tr.PullTooltip, | ||||
| 		}, | ||||
| 	} | ||||
|  | ||||
|   | ||||
| @@ -38,12 +38,20 @@ func (self *TagsController) GetKeybindings(opts types.KeybindingsOpts) []*types. | ||||
| 			Handler:           self.withItem(self.checkout), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.Checkout, | ||||
| 			Tooltip:           self.c.Tr.TagCheckoutTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.New), | ||||
| 			Handler:     self.create, | ||||
| 			Description: self.c.Tr.NewTag, | ||||
| 			Tooltip:     self.c.Tr.NewTagTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Universal.Remove), | ||||
| 			Handler:           self.withItem(self.delete), | ||||
| 			Description:       self.c.Tr.ViewDeleteOptions, | ||||
| 			Description:       self.c.Tr.Delete, | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Tooltip:           self.c.Tr.TagDeleteTooltip, | ||||
| 			OpensMenu:         true, | ||||
| 		}, | ||||
| 		{ | ||||
| @@ -51,17 +59,14 @@ func (self *TagsController) GetKeybindings(opts types.KeybindingsOpts) []*types. | ||||
| 			Handler:           self.withItem(self.push), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.PushTag, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.New), | ||||
| 			Handler:     self.create, | ||||
| 			Description: self.c.Tr.CreateTag, | ||||
| 			Tooltip:           self.c.Tr.PushTagTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Commits.ViewResetOptions), | ||||
| 			Handler:           self.withItem(self.createResetMenu), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.ViewResetOptions, | ||||
| 			Description:       self.c.Tr.Reset, | ||||
| 			Tooltip:           self.c.Tr.ResetTooltip, | ||||
| 			OpensMenu:         true, | ||||
| 		}, | ||||
| 	} | ||||
|   | ||||
| @@ -39,19 +39,19 @@ func (self *WorktreesController) GetKeybindings(opts types.KeybindingsOpts) []*t | ||||
| 		{ | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.New), | ||||
| 			Handler:     self.add, | ||||
| 			Description: self.c.Tr.CreateWorktree, | ||||
| 			Description: self.c.Tr.NewWorktree, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Universal.Select), | ||||
| 			Handler:           self.withItem(self.enter), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.SwitchToWorktree, | ||||
| 			Description:       self.c.Tr.Switch, | ||||
| 			Tooltip:           self.c.Tr.SwitchToWorktreeTooltip, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Universal.Confirm), | ||||
| 			Handler:           self.withItem(self.enter), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.SwitchToWorktree, | ||||
| 		}, | ||||
| 		{ | ||||
| 			Key:               opts.GetKey(opts.Config.Universal.OpenFile), | ||||
| @@ -63,7 +63,8 @@ func (self *WorktreesController) GetKeybindings(opts types.KeybindingsOpts) []*t | ||||
| 			Key:               opts.GetKey(opts.Config.Universal.Remove), | ||||
| 			Handler:           self.withItem(self.remove), | ||||
| 			GetDisabledReason: self.require(self.singleItemSelected()), | ||||
| 			Description:       self.c.Tr.RemoveWorktree, | ||||
| 			Description:       self.c.Tr.Remove, | ||||
| 			Tooltip:           self.c.Tr.RemoveWorktreeTooltip, | ||||
| 		}, | ||||
| 	} | ||||
|  | ||||
|   | ||||
| @@ -89,14 +89,14 @@ func (self *Gui) GetInitialKeybindings() ([]*types.Binding, []*gocui.ViewMouseBi | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.ScrollUpMain), | ||||
| 			Handler:     self.scrollUpMain, | ||||
| 			Alternative: "fn+up/shift+k", | ||||
| 			Description: self.c.Tr.ScrollUpMainPanel, | ||||
| 			Description: self.c.Tr.ScrollUpMainWindow, | ||||
| 		}, | ||||
| 		{ | ||||
| 			ViewName:    "", | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.ScrollDownMain), | ||||
| 			Handler:     self.scrollDownMain, | ||||
| 			Alternative: "fn+down/shift+j", | ||||
| 			Description: self.c.Tr.ScrollDownMainPanel, | ||||
| 			Description: self.c.Tr.ScrollDownMainWindow, | ||||
| 		}, | ||||
| 		{ | ||||
| 			ViewName: "", | ||||
| @@ -127,7 +127,7 @@ func (self *Gui) GetInitialKeybindings() ([]*types.Binding, []*gocui.ViewMouseBi | ||||
| 			Key:               opts.GetKey(opts.Config.Universal.CopyToClipboard), | ||||
| 			Handler:           self.handleCopySelectedSideContextItemToClipboard, | ||||
| 			GetDisabledReason: self.getCopySelectedSideContextItemToClipboardDisabledReason, | ||||
| 			Description:       self.c.Tr.CopyFileNameToClipboard, | ||||
| 			Description:       self.c.Tr.CopyPathToClipboard, | ||||
| 		}, | ||||
| 		{ | ||||
| 			ViewName:          "localBranches", | ||||
| @@ -181,13 +181,14 @@ func (self *Gui) GetInitialKeybindings() ([]*types.Binding, []*gocui.ViewMouseBi | ||||
| 			Key:               opts.GetKey(opts.Config.Universal.CopyToClipboard), | ||||
| 			Handler:           self.handleCopySelectedSideContextItemToClipboard, | ||||
| 			GetDisabledReason: self.getCopySelectedSideContextItemToClipboardDisabledReason, | ||||
| 			Description:       self.c.Tr.CopyCommitFileNameToClipboard, | ||||
| 			Description:       self.c.Tr.CopyPathToClipboard, | ||||
| 		}, | ||||
| 		{ | ||||
| 			ViewName:    "", | ||||
| 			Key:         opts.GetKey(opts.Config.Universal.ExtrasMenu), | ||||
| 			Handler:     self.handleCreateExtrasMenuPanel, | ||||
| 			Description: self.c.Tr.OpenExtrasMenu, | ||||
| 			Description: self.c.Tr.OpenCommandLogMenu, | ||||
| 			Tooltip:     self.c.Tr.OpenCommandLogMenuTooltip, | ||||
| 			OpensMenu:   true, | ||||
| 		}, | ||||
| 		{ | ||||
|   | ||||
| @@ -1,6 +1,9 @@ | ||||
| package types | ||||
|  | ||||
| import "github.com/jesseduffield/gocui" | ||||
| import ( | ||||
| 	"github.com/jesseduffield/gocui" | ||||
| 	"github.com/jesseduffield/lazygit/pkg/gui/style" | ||||
| ) | ||||
|  | ||||
| type Key interface{} // FIXME: find out how to get `gocui.Key | rune` | ||||
|  | ||||
| @@ -8,20 +11,22 @@ type Key interface{} // FIXME: find out how to get `gocui.Key | rune` | ||||
| // is only handled if the given view has focus, or handled globally if the view | ||||
| // is "" | ||||
| type Binding struct { | ||||
| 	ViewName    string | ||||
| 	Handler     func() error | ||||
| 	Key         Key | ||||
| 	Modifier    gocui.Modifier | ||||
| 	Description string | ||||
| 	Alternative string | ||||
| 	Tag         string // e.g. 'navigation'. Used for grouping things in the cheatsheet | ||||
| 	OpensMenu   bool | ||||
| 	ViewName         string | ||||
| 	Handler          func() error | ||||
| 	Key              Key | ||||
| 	Modifier         gocui.Modifier | ||||
| 	Description      string | ||||
| 	ShortDescription string | ||||
| 	Alternative      string | ||||
| 	Tag              string // e.g. 'navigation'. Used for grouping things in the cheatsheet | ||||
| 	OpensMenu        bool | ||||
|  | ||||
| 	// If true, the keybinding will appear at the bottom of the screen. If | ||||
| 	// the given view has no bindings with Display: true, the default keybindings | ||||
| 	// will be displayed instead. | ||||
| 	// TODO: implement this | ||||
| 	Display bool | ||||
| 	Display      bool | ||||
| 	DisplayStyle *style.TextStyle | ||||
|  | ||||
| 	// to be displayed if the keybinding is highlighted from within a menu | ||||
| 	Tooltip string | ||||
|   | ||||
| @@ -52,7 +52,7 @@ func chineseTranslationSet() TranslationSet { | ||||
| 		CredentialsPassword:                 "密码", | ||||
| 		CredentialsPassphrase:               "输入 SSH 密钥的密码", | ||||
| 		PassUnameWrong:                      "密码 和/或 用户名错误", | ||||
| 		CommitChanges:                       "提交更改", | ||||
| 		Commit:                              "提交更改", | ||||
| 		AmendLastCommit:                     "修补最后一次提交", | ||||
| 		AmendLastCommitTitle:                "修补最后一次提交", | ||||
| 		SureToAmend:                         "您确定要修补上一次提交吗?之后您可以从提交面板更改提交消息。", | ||||
| @@ -61,7 +61,7 @@ func chineseTranslationSet() TranslationSet { | ||||
| 		StatusTitle:                         "状态", | ||||
| 		Menu:                                "菜单", | ||||
| 		Execute:                             "执行", | ||||
| 		ToggleStaged:                        "切换暂存状态", | ||||
| 		Stage:                               "切换暂存状态", | ||||
| 		ToggleStagedAll:                     "切换所有文件的暂存状态", | ||||
| 		ToggleTreeView:                      "切换文件树视图", | ||||
| 		OpenMergeTool:                       "打开外部合并工具 (git mergetool)", | ||||
| @@ -92,23 +92,21 @@ func chineseTranslationSet() TranslationSet { | ||||
| 		Confirm:                             "确认", | ||||
| 		Close:                               "关闭", | ||||
| 		Quit:                                "退出", | ||||
| 		SquashDown:                          "向下压缩", | ||||
| 		FixupCommit:                         "修正提交(fixup)", | ||||
| 		NoCommitsThisBranch:                 "该分支没有提交", | ||||
| 		CannotSquashOrFixupFirstCommit:      "There's no commit below to squash into", | ||||
| 		Fixup:                               "修正(fixup)", | ||||
| 		SureFixupThisCommit:                 "您确定要“修正”此提交吗?它将合并到下面的提交中", | ||||
| 		SureSquashThisCommit:                "您确定要将这个提交压缩到下面的提交中吗?", | ||||
| 		Squash:                              "压缩", | ||||
| 		PickCommit:                          "选择提交(变基过程中)", | ||||
| 		PickCommitTooltip:                   "选择提交(变基过程中)", | ||||
| 		RevertCommit:                        "还原提交", | ||||
| 		RewordCommit:                        "改写提交", | ||||
| 		DeleteCommit:                        "删除提交", | ||||
| 		Reword:                              "改写提交", | ||||
| 		DropCommit:                          "删除提交", | ||||
| 		MoveDownCommit:                      "下移提交", | ||||
| 		MoveUpCommit:                        "上移提交", | ||||
| 		EditCommit:                          "编辑提交", | ||||
| 		AmendToCommit:                       "用已暂存的更改来修补提交", | ||||
| 		RenameCommitEditor:                  "使用编辑器重命名提交", | ||||
| 		EditCommitTooltip:                   "编辑提交", | ||||
| 		AmendCommitTooltip:                  "用已暂存的更改来修补提交", | ||||
| 		RewordCommitEditor:                  "使用编辑器重命名提交", | ||||
| 		Error:                               "错误", | ||||
| 		PickHunk:                            "选中区块", | ||||
| 		PickAllHunks:                        "选中所有区块", | ||||
| @@ -148,7 +146,7 @@ func chineseTranslationSet() TranslationSet { | ||||
| 		OpenFile:                            `打开文件`, | ||||
| 		IgnoreFile:                          `添加到 .gitignore`, | ||||
| 		RefreshFiles:                        `刷新文件`, | ||||
| 		MergeIntoCurrentBranch:              `合并到当前检出的分支`, | ||||
| 		Merge:                               `合并到当前检出的分支`, | ||||
| 		ConfirmQuit:                         `您确定要退出吗?`, | ||||
| 		SwitchRepo:                          `切换到最近的仓库`, | ||||
| 		AllBranchesLogGraph:                 `显示所有分支的日志`, | ||||
| @@ -161,12 +159,12 @@ func chineseTranslationSet() TranslationSet { | ||||
| 		NoAutomaticGitFetchBody:             `Lazygit 不能在私人仓库中使用 "git fetch"; 请在文件面板中使用 'f' 手动运行 "git fetch"`, | ||||
| 		FileEnter:                           `暂存单个 块/行 用于文件, 或 折叠/展开 目录`, | ||||
| 		FileStagingRequirements:             `只能暂存跟踪文件的单独行`, | ||||
| 		StageSelection:                      `切换行暂存状态`, | ||||
| 		StageSelectionTooltip:               `切换行暂存状态`, | ||||
| 		DiscardSelection:                    `取消变更 (git reset)`, | ||||
| 		ToggleRangeSelect:                   `切换拖动选择`, | ||||
| 		ToggleSelectHunk:                    `切换选择区块`, | ||||
| 		ToggleSelectionForPatch:             `添加/移除 行到补丁`, | ||||
| 		ToggleStagingPanel:                  `切换到其他面板`, | ||||
| 		ToggleStagingView:                   `切换到其他面板`, | ||||
| 		ReturnToFilesPanel:                  `返回文件面板`, | ||||
| 		FastForward:                         `从上游快进此分支`, | ||||
| 		FastForwarding:                      "抓取并快进", | ||||
| @@ -213,8 +211,8 @@ func chineseTranslationSet() TranslationSet { | ||||
| 		SelectNextHunk:                      "选择底部块", | ||||
| 		ScrollDown:                          "向下滚动", | ||||
| 		ScrollUp:                            "向上滚动", | ||||
| 		ScrollUpMainPanel:                   "向上滚动主面板", | ||||
| 		ScrollDownMainPanel:                 "向下滚动主面板", | ||||
| 		ScrollUpMainWindow:                  "向上滚动主面板", | ||||
| 		ScrollDownMainWindow:                "向下滚动主面板", | ||||
| 		AmendCommitTitle:                    "修改提交", | ||||
| 		AmendCommitPrompt:                   "您确定要使用暂存文件来修改此提交吗?", | ||||
| 		DropCommitTitle:                     "删除提交", | ||||
| @@ -236,8 +234,8 @@ func chineseTranslationSet() TranslationSet { | ||||
| 		CommitFiles:                         "提交文件", | ||||
| 		ViewItemFiles:                       "查看提交的文件", | ||||
| 		CommitFilesTitle:                    "提交文件", | ||||
| 		CheckoutCommitFile:                  "检出文件", | ||||
| 		DiscardOldFileChange:                "放弃对此文件的提交更改", | ||||
| 		CheckoutCommitFileTooltip:           "检出文件", | ||||
| 		DiscardOldFileChangeTooltip:         "放弃对此文件的提交更改", | ||||
| 		DiscardFileChangesTitle:             "放弃文件更改", | ||||
| 		DiscardFileChangesPrompt:            "您确定要舍弃此提交对该文件的更改吗?如果此文件是在此提交中创建的,它将被删除", | ||||
| 		DisabledForGPG:                      "该功能不适用于使用 GPG 的用户", | ||||
| @@ -245,7 +243,7 @@ func chineseTranslationSet() TranslationSet { | ||||
| 		AutoStashTitle:                      "自动存储?", | ||||
| 		AutoStashPrompt:                     "您必须隐藏并弹出更改以使更改生效。自动执行?(enter/esc)", | ||||
| 		StashPrefix:                         "自动隐藏更改 ", | ||||
| 		ViewDiscardOptions:                  "查看'放弃更改'选项", | ||||
| 		Discard:                             "查看'放弃更改'选项", | ||||
| 		Cancel:                              "取消", | ||||
| 		DiscardAllChanges:                   "放弃所有更改", | ||||
| 		DiscardUnstagedChanges:              "放弃未暂存的变更", | ||||
| @@ -255,9 +253,9 @@ func chineseTranslationSet() TranslationSet { | ||||
| 		HardReset:                           "硬重置", | ||||
| 		ViewResetOptions:                    `查看重置选项`, | ||||
| 		CreateFixupCommit:                   `为此提交创建修正`, | ||||
| 		SquashAboveCommits:                  `压缩在所选提交之上的所有“fixup!”提交(自动压缩)`, | ||||
| 		SquashAboveCommitsTooltip:           `压缩在所选提交之上的所有“fixup!”提交(自动压缩)`, | ||||
| 		SureSquashAboveCommits:              `您确定要压缩在 {{.commit}} 之上的所有“fixup!”提交吗?`, | ||||
| 		CreateFixupCommitDescription:        `创建修正提交`, | ||||
| 		CreateFixupCommitTooltip:            `创建修正提交`, | ||||
| 		SureCreateFixupCommit:               `您确定要对 {{.commit}} 创建修正提交吗?`, | ||||
| 		ExecuteCustomCommand:                "执行自定义命令", | ||||
| 		CustomCommand:                       "自定义命令:", | ||||
| @@ -281,12 +279,12 @@ func chineseTranslationSet() TranslationSet { | ||||
| 		ViewPatchOptions:                    "查看自定义补丁选项", | ||||
| 		PatchOptionsTitle:                   "补丁选项", | ||||
| 		NoPatchError:                        "尚未创建补丁。你可以在提交中的文件上按下“空格”或使用“回车”添加其中的特定行以开始构建补丁", | ||||
| 		EnterFile:                           "输入文件以将所选行添加到补丁中(或切换目录折叠)", | ||||
| 		EnterCommitFile:                     "输入文件以将所选行添加到补丁中(或切换目录折叠)", | ||||
| 		ExitCustomPatchBuilder:              `退出逐行模式`, | ||||
| 		EnterUpstream:                       `以这种格式输入上游:'<远程仓库> <分支名称>'`, | ||||
| 		InvalidUpstream:                     "上游格式无效,格式应当为:'<remote> <branchname>'", | ||||
| 		ReturnToRemotesList:                 `返回远程仓库列表`, | ||||
| 		AddNewRemote:                        `添加新的远程仓库`, | ||||
| 		NewRemote:                           `添加新的远程仓库`, | ||||
| 		NewRemoteName:                       `新远程仓库名称:`, | ||||
| 		NewRemoteUrl:                        `新远程仓库 URL:`, | ||||
| 		EditRemoteName:                      `输入远程仓库 {{.remoteName}} 的新名称:`, | ||||
| @@ -296,10 +294,10 @@ func chineseTranslationSet() TranslationSet { | ||||
| 		DeleteRemoteBranch:                  "删除远程分支", | ||||
| 		DeleteRemoteBranchMessage:           "您确定要删除远程分支吗?", | ||||
| 		SetUpstream:                         "设置为检出分支的上游", | ||||
| 		SetAsUpstream:                       "设置为检出分支的上游", | ||||
| 		SetAsUpstreamTooltip:                "设置为检出分支的上游", | ||||
| 		SetUpstreamTitle:                    "设置上游分支", | ||||
| 		SetUpstreamMessage:                  "您确定要将 {{.checkedOut}} 的上游分支设置为 {{.selected}} 吗?", | ||||
| 		EditRemote:                          "编辑远程仓库", | ||||
| 		EditRemoteTooltip:                   "编辑远程仓库", | ||||
| 		TagCommit:                           "标签提交", | ||||
| 		TagMenuTitle:                        "创建标签", | ||||
| 		TagNameTitle:                        "标签名称", | ||||
| @@ -308,8 +306,9 @@ func chineseTranslationSet() TranslationSet { | ||||
| 		LightweightTag:                      "轻量标签", | ||||
| 		PushTagTitle:                        "将 {{.tagName}} 推送到远程仓库:", | ||||
| 		PushTag:                             "推送标签", | ||||
| 		CreateTag:                           "创建标签", | ||||
| 		FetchRemote:                         "抓取远程仓库", | ||||
| 		NewTag:                              "创建标签", | ||||
| 		FetchRemoteTooltip:                  "抓取远程仓库", | ||||
| 		FetchingRemoteStatus:                "抓取远程仓库中", | ||||
| 		CheckoutCommit:                      "检出提交", | ||||
| 		SureCheckoutThisCommit:              "您确定要检出此提交吗?", | ||||
| 		GitFlowOptions:                      "显示 git-flow 选项", | ||||
| @@ -326,7 +325,7 @@ func chineseTranslationSet() TranslationSet { | ||||
| 		RenameBranch:                        "重命名分支", | ||||
| 		NewBranchNamePrompt:                 "输入分支的新名称", | ||||
| 		RenameBranchWarning:                 "该分支正在跟踪远程仓库。此操作将仅会重命名本地分支名称,而不会重命名远程分支的名称。确定继续?", | ||||
| 		OpenMenu:                            "打开菜单", | ||||
| 		OpenKeybindingsMenu:                 "打开菜单", | ||||
| 		ResetCherryPick:                     "重置已拣选(复制)的提交", | ||||
| 		NextTab:                             "下一个标签", | ||||
| 		PrevTab:                             "上一个标签", | ||||
| @@ -355,16 +354,15 @@ func chineseTranslationSet() TranslationSet { | ||||
| 		ExitDiffMode:                        "退出差异模式", | ||||
| 		DiffingMenuTitle:                    "正在 diff", | ||||
| 		SwapDiff:                            "反向 diff", | ||||
| 		OpenDiffingMenu:                     "打开 diff 菜单", | ||||
| 		ViewDiffingOptions:                  "打开 diff 菜单", | ||||
| 		// 实际视图 (actual view) 是附加视图 (extras view),未来,我打算为附加视图提供更多选项卡,但现在,上面的文本只需要提及“命令日志”这个部分 | ||||
| 		OpenExtrasMenu:                      "打开命令日志菜单", | ||||
| 		OpenCommandLogMenu:                  "打开命令日志菜单", | ||||
| 		ShowingGitDiff:                      "显示输出:", | ||||
| 		CopyCommitShaToClipboard:            "将提交的 SHA 复制到剪贴板", | ||||
| 		CopyCommitMessageToClipboard:        "将提交消息复制到剪贴板", | ||||
| 		CopyBranchNameToClipboard:           "将分支名称复制到剪贴板", | ||||
| 		CopyFileNameToClipboard:             "将文件名复制到剪贴板", | ||||
| 		CopyCommitFileNameToClipboard:       "将提交的文件名复制到剪贴板", | ||||
| 		CopySelectedTexToClipboard:          "将选中文本复制到剪贴板", | ||||
| 		CopyPathToClipboard:                 "将文件名复制到剪贴板", | ||||
| 		CopySelectedTextToClipboard:         "将选中文本复制到剪贴板", | ||||
| 		CommitPrefixPatternError:            "提交前缀模式错误", | ||||
| 		NoFilesStagedTitle:                  "没有暂存文件", | ||||
| 		NoFilesStagedPrompt:                 "您尚未暂存任何文件。提交所有文件?", | ||||
| @@ -379,7 +377,7 @@ func chineseTranslationSet() TranslationSet { | ||||
| 		RunningCustomCommandStatus:          "正在运行自定义命令", | ||||
| 		SubmoduleStashAndReset:              "存放未提交的子模块更改和更新", | ||||
| 		AndResetSubmodules:                  "和重置子模块", | ||||
| 		EnterSubmodule:                      "输入子模块", | ||||
| 		EnterSubmoduleTooltip:               "输入子模块", | ||||
| 		CopySubmoduleNameToClipboard:        "将子模块名称复制到剪贴板", | ||||
| 		RemoveSubmodule:                     "删除子模块", | ||||
| 		RemoveSubmodulePrompt:               "您确定要删除子模块 '%s' 及其对应的目录吗?这是不可逆的。", | ||||
| @@ -387,14 +385,14 @@ func chineseTranslationSet() TranslationSet { | ||||
| 		NewSubmoduleName:                    "新的子模块名称:", | ||||
| 		NewSubmoduleUrl:                     "新的子模块 URL:", | ||||
| 		NewSubmodulePath:                    "新的子模块路径:", | ||||
| 		AddSubmodule:                        "添加新的子模块", | ||||
| 		NewSubmodule:                        "添加新的子模块", | ||||
| 		AddingSubmoduleStatus:               "添加子模块", | ||||
| 		UpdateSubmoduleUrl:                  "更新子模块 '%s' 的 URL", | ||||
| 		UpdatingSubmoduleUrlStatus:          "更新 URL 中", | ||||
| 		EditSubmoduleUrl:                    "更新子模块 URL", | ||||
| 		InitializingSubmoduleStatus:         "正在初始化子模块", | ||||
| 		InitSubmodule:                       "初始化子模块", | ||||
| 		SubmoduleUpdate:                     "更新子模块", | ||||
| 		InitSubmoduleTooltip:                "初始化子模块", | ||||
| 		SubmoduleUpdateTooltip:              "更新子模块", | ||||
| 		UpdatingSubmoduleStatus:             "正在更新子模块", | ||||
| 		BulkInitSubmodules:                  "批量初始化子模块", | ||||
| 		BulkUpdateSubmodules:                "批量更新子模块", | ||||
|   | ||||
| @@ -18,7 +18,7 @@ func dutchTranslationSet() TranslationSet { | ||||
| 		CredentialsPassword:                 "Wachtwoord", | ||||
| 		CredentialsPassphrase:               "Voer een wachtwoordzin in voor de SSH-sleutel", | ||||
| 		PassUnameWrong:                      "Wachtwoord en/of gebruikersnaam verkeerd", | ||||
| 		CommitChanges:                       "Commit veranderingen", | ||||
| 		Commit:                              "Commit veranderingen", | ||||
| 		AmendLastCommit:                     "Wijzig laatste commit", | ||||
| 		AmendLastCommitTitle:                "Wijzig laatste commit", | ||||
| 		SureToAmend:                         "Weet je zeker dat je de laatste commit wilt wijzigen? U kunt het commit-bericht wijzigen vanuit het commits-paneel.", | ||||
| @@ -27,7 +27,7 @@ func dutchTranslationSet() TranslationSet { | ||||
| 		StatusTitle:                         "Status", | ||||
| 		Menu:                                "Menu", | ||||
| 		Execute:                             "Uitvoeren", | ||||
| 		ToggleStaged:                        "Toggle staged", | ||||
| 		Stage:                               "Toggle staged", | ||||
| 		ToggleStagedAll:                     "Toggle staged alle", | ||||
| 		Refresh:                             "Verversen", | ||||
| 		Push:                                "Push", | ||||
| @@ -58,22 +58,20 @@ func dutchTranslationSet() TranslationSet { | ||||
| 		Confirm:                             "Bevestig", | ||||
| 		Close:                               "Sluiten", | ||||
| 		Quit:                                "Quit", | ||||
| 		SquashDown:                          "Squash beneden", | ||||
| 		FixupCommit:                         "Fixup commit", | ||||
| 		CannotSquashOrFixupFirstCommit:      "There's no commit below to squash into", | ||||
| 		Fixup:                               "Fixup", | ||||
| 		SureFixupThisCommit:                 "Weet je zeker dat je fixup wil uitvoeren op deze commit? De commit hieronder zol worden squashed in deze", | ||||
| 		SureSquashThisCommit:                "Weet je zeker dat je deze commit wil samenvoegen met de commit hieronder?", | ||||
| 		Squash:                              "Squash", | ||||
| 		PickCommit:                          "Kies commit (wanneer midden in rebase)", | ||||
| 		PickCommitTooltip:                   "Kies commit (wanneer midden in rebase)", | ||||
| 		RevertCommit:                        "Commit ongedaan maken", | ||||
| 		RewordCommit:                        "Hernoem commit", | ||||
| 		DeleteCommit:                        "Verwijder commit", | ||||
| 		Reword:                              "Hernoem commit", | ||||
| 		DropCommit:                          "Verwijder commit", | ||||
| 		MoveDownCommit:                      "Verplaats commit 1 naar beneden", | ||||
| 		MoveUpCommit:                        "Verplaats commit 1 naar boven", | ||||
| 		EditCommit:                          "Wijzig commit", | ||||
| 		AmendToCommit:                       "Wijzig commit met staged veranderingen", | ||||
| 		RenameCommitEditor:                  "Hernoem commit met editor", | ||||
| 		EditCommitTooltip:                   "Wijzig commit", | ||||
| 		AmendCommitTooltip:                  "Wijzig commit met staged veranderingen", | ||||
| 		RewordCommitEditor:                  "Hernoem commit met editor", | ||||
| 		NoCommitsThisBranch:                 "Geen commits in deze branch", | ||||
| 		Error:                               "Foutmelding", | ||||
| 		PickHunk:                            "Kies stuk", | ||||
| @@ -113,7 +111,7 @@ func dutchTranslationSet() TranslationSet { | ||||
| 		OpenFile:                            `Open bestand`, | ||||
| 		IgnoreFile:                          `Voeg toe aan .gitignore`, | ||||
| 		RefreshFiles:                        `Refresh bestanden`, | ||||
| 		MergeIntoCurrentBranch:              `Merge in met huidige checked out branch`, | ||||
| 		Merge:                               `Merge in met huidige checked out branch`, | ||||
| 		ConfirmQuit:                         `Weet je zeker dat je dit programma wil sluiten?`, | ||||
| 		SwitchRepo:                          "Wissel naar een recente repo", | ||||
| 		AllBranchesLogGraph:                 `Alle logs van de branch laten zien`, | ||||
| @@ -126,12 +124,12 @@ func dutchTranslationSet() TranslationSet { | ||||
| 		NoAutomaticGitFetchBody:             `Lazygit kan niet "git fetch" uitvoeren in een privé repository, gebruik f in het branches paneel om "git fetch" manueel uit te voeren`, | ||||
| 		FileEnter:                           `Stage individuele hunks/lijnen`, | ||||
| 		FileStagingRequirements:             `Kan alleen individuele lijnen stagen van getrackte bestanden met onstaged veranderingen`, | ||||
| 		StageSelection:                      `Toggle lijnen staged / unstaged`, | ||||
| 		StageSelectionTooltip:               `Toggle lijnen staged / unstaged`, | ||||
| 		DiscardSelection:                    `Verwijdert change (git reset)`, | ||||
| 		ToggleRangeSelect:                   `Toggle drag selecteer`, | ||||
| 		ToggleSelectHunk:                    `Toggle selecteer hunk`, | ||||
| 		ToggleSelectionForPatch:             `Voeg toe/verwijder lijn(en) in patch`, | ||||
| 		ToggleStagingPanel:                  `Ga naar een ander paneel`, | ||||
| 		ToggleStagingView:                   `Ga naar een ander paneel`, | ||||
| 		ReturnToFilesPanel:                  `Ga terug naar het bestanden paneel`, | ||||
| 		FastForward:                         `Fast-forward deze branch vanaf zijn upstream`, | ||||
| 		FastForwarding:                      "Fast-forwarding", | ||||
| @@ -177,8 +175,8 @@ func dutchTranslationSet() TranslationSet { | ||||
| 		SelectNextHunk:                      "Selecteer onderste hunk", | ||||
| 		ScrollDown:                          "Scroll omlaag", | ||||
| 		ScrollUp:                            "Scroll omhoog", | ||||
| 		ScrollUpMainPanel:                   "Scroll naar beneden vanaf hoofdpaneel", | ||||
| 		ScrollDownMainPanel:                 "Scroll naar beneden vanaf hoofdpaneel", | ||||
| 		ScrollUpMainWindow:                  "Scroll naar beneden vanaf hoofdpaneel", | ||||
| 		ScrollDownMainWindow:                "Scroll naar beneden vanaf hoofdpaneel", | ||||
| 		AmendCommitTitle:                    "Commit wijzigen", | ||||
| 		AmendCommitPrompt:                   "Weet je zeker dat je deze commit wil wijzigen met de vorige staged bestanden?", | ||||
| 		DropCommitTitle:                     "Verwijder commit", | ||||
| @@ -199,8 +197,8 @@ func dutchTranslationSet() TranslationSet { | ||||
| 		CommitFiles:                         "Commit bestanden", | ||||
| 		ViewItemFiles:                       "Bekijk gecommite bestanden", | ||||
| 		CommitFilesTitle:                    "Commit bestanden", | ||||
| 		CheckoutCommitFile:                  "Bestand uitchecken", | ||||
| 		DiscardOldFileChange:                "Uitsluit deze commit zijn veranderingen aan dit bestand", | ||||
| 		CheckoutCommitFileTooltip:           "Bestand uitchecken", | ||||
| 		DiscardOldFileChangeTooltip:         "Uitsluit deze commit zijn veranderingen aan dit bestand", | ||||
| 		DiscardFileChangesTitle:             "Uitsluit bestand zijn veranderingen", | ||||
| 		DiscardFileChangesPrompt:            "Weet je zeker dat je de wijzigingen van deze commit in dit bestand wilt weggooien? Als dit bestand is gecreëerd in deze commit dan zal dit bestand worden verwijdert", | ||||
| 		DisabledForGPG:                      "Onderdelen niet beschikbaar voor gebruikers die GPG gebruiken", | ||||
| @@ -208,7 +206,7 @@ func dutchTranslationSet() TranslationSet { | ||||
| 		AutoStashTitle:                      "Autostash?", | ||||
| 		AutoStashPrompt:                     "Je moet je veranderingen stashen en poppen om ze over te brengen. Dit automatisch doen? (enter/esc)", | ||||
| 		StashPrefix:                         "Auto-stashing veranderingen voor ", | ||||
| 		ViewDiscardOptions:                  "Bekijk 'veranderingen ongedaan maken' opties", | ||||
| 		Discard:                             "Bekijk 'veranderingen ongedaan maken' opties", | ||||
| 		Cancel:                              "Annuleren", | ||||
| 		DiscardAllChanges:                   "Negeer alle wijzigingen", | ||||
| 		DiscardUnstagedChanges:              "Negeer unstaged wijzigingen", | ||||
| @@ -218,9 +216,9 @@ func dutchTranslationSet() TranslationSet { | ||||
| 		ViewResetOptions:                    `Bekijk reset opties`, | ||||
| 		HardReset:                           "Harde reset", | ||||
| 		CreateFixupCommit:                   `Creëer fixup commit voor deze commit`, | ||||
| 		SquashAboveCommits:                  `Squash bovenstaande commits`, | ||||
| 		SquashAboveCommitsTooltip:           `Squash bovenstaande commits`, | ||||
| 		SureSquashAboveCommits:              `Weet je zeker dat je alles wil squash/fixup! voor de bovenstaand commits {{.commit}}?`, | ||||
| 		CreateFixupCommitDescription:        `Creëer fixup commit`, | ||||
| 		CreateFixupCommitTooltip:            `Creëer fixup commit`, | ||||
| 		SureCreateFixupCommit:               `Weet je zeker dat je een fixup wil maken! commit voor commit {{.commit}}?`, | ||||
| 		ExecuteCustomCommand:                "Voer aangepaste commando uit", | ||||
| 		CustomCommand:                       "Aangepaste commando:", | ||||
| @@ -241,11 +239,11 @@ func dutchTranslationSet() TranslationSet { | ||||
| 		ViewPatchOptions:                    "Bekijk aangepaste patch opties", | ||||
| 		PatchOptionsTitle:                   "Patch opties", | ||||
| 		NoPatchError:                        "Nog geen patch gecreëerd. Om een patch te bouwen gebruik 'space' op een commit bestand of 'enter' om een spesiefieke lijnen toe te voegen", | ||||
| 		EnterFile:                           "Enter bestand om geselecteerde regels toe te voegen aan de patch", | ||||
| 		EnterCommitFile:                     "Enter bestand om geselecteerde regels toe te voegen aan de patch", | ||||
| 		ExitCustomPatchBuilder:              `Sluit lijn-bij-lijn modus`, | ||||
| 		EnterUpstream:                       `Enter upstream als '<remote> <branchnaam>'`, | ||||
| 		ReturnToRemotesList:                 `Ga terug naar remotes lijst`, | ||||
| 		AddNewRemote:                        `Voeg een nieuwe remote toe`, | ||||
| 		NewRemote:                           `Voeg een nieuwe remote toe`, | ||||
| 		NewRemoteName:                       `Nieuwe remote name:`, | ||||
| 		NewRemoteUrl:                        `Nieuwe remote url:`, | ||||
| 		EditRemoteName:                      `Enter updated remote naam voor {{.remoteName}}:`, | ||||
| @@ -255,16 +253,17 @@ func dutchTranslationSet() TranslationSet { | ||||
| 		DeleteRemoteBranch:                  "Verwijder remote branch", | ||||
| 		DeleteRemoteBranchMessage:           "Weet je zeker dat je deze remote branch wilt verwijderen", | ||||
| 		SetUpstream:                         "Stel in als upstream van uitgecheckte branch", | ||||
| 		SetAsUpstream:                       "Stel in als upstream van uitgecheckte branch", | ||||
| 		SetAsUpstreamTooltip:                "Stel in als upstream van uitgecheckte branch", | ||||
| 		SetUpstreamTitle:                    "Stel in als upstream branch", | ||||
| 		SetUpstreamMessage:                  "Weet je zeker dat je de upstream branch van '{{.checkedOut}}' naar '{{.selected}}' wilt zetten", | ||||
| 		EditRemote:                          "Wijzig remote", | ||||
| 		EditRemoteTooltip:                   "Wijzig remote", | ||||
| 		TagCommit:                           "Tag commit", | ||||
| 		TagNameTitle:                        "Tag naam:", | ||||
| 		PushTagTitle:                        "Remote om tag '{{.tagName}}' te pushen naar:", | ||||
| 		PushTag:                             "Push tag", | ||||
| 		CreateTag:                           "Creëer tag", | ||||
| 		FetchRemote:                         "Fetch remote", | ||||
| 		NewTag:                              "Creëer tag", | ||||
| 		FetchRemoteTooltip:                  "Fetch remote", | ||||
| 		FetchingRemoteStatus:                "Remote fetchen", | ||||
| 		CheckoutCommit:                      "Checkout commit", | ||||
| 		SureCheckoutThisCommit:              "Weet je zeker dat je deze commit wil uitchecken?", | ||||
| 		GitFlowOptions:                      "Laat git-flow opties zien", | ||||
| @@ -281,7 +280,7 @@ func dutchTranslationSet() TranslationSet { | ||||
| 		RenameBranch:                        "Hernoem branch", | ||||
| 		NewBranchNamePrompt:                 "Noem een nieuwe branch naam", | ||||
| 		RenameBranchWarning:                 "Deze branch volgt een remote. Deze actie zal alleen de locale branch name wijzigen niet de naam van de remote branch. Verder gaan?", | ||||
| 		OpenMenu:                            "Open menu", | ||||
| 		OpenKeybindingsMenu:                 "Open menu", | ||||
| 		ResetCherryPick:                     "Reset cherry-picked (gekopieerde) commits selectie", | ||||
| 		NextTab:                             "Volgende tabblad", | ||||
| 		PrevTab:                             "Vorige tabblad", | ||||
| @@ -310,13 +309,12 @@ func dutchTranslationSet() TranslationSet { | ||||
| 		ExitDiffMode:                        "Sluit diff mode", | ||||
| 		DiffingMenuTitle:                    "Diffen", | ||||
| 		SwapDiff:                            "Keer diff richting om", | ||||
| 		OpenDiffingMenu:                     "Open diff menu", | ||||
| 		ViewDiffingOptions:                  "Open diff menu", | ||||
| 		ShowingGitDiff:                      "Laat output zien voor:", | ||||
| 		CopyCommitShaToClipboard:            "Kopieer commit SHA naar klembord", | ||||
| 		CopyCommitMessageToClipboard:        "Kopieer commit bericht naar klembord", | ||||
| 		CopyBranchNameToClipboard:           "Kopieer branch name naar klembord", | ||||
| 		CopyFileNameToClipboard:             "Kopieer de bestandsnaam naar het klembord", | ||||
| 		CopyCommitFileNameToClipboard:       "Kopieer de vastgelegde bestandsnaam naar het klembord", | ||||
| 		CopyPathToClipboard:                 "Kopieer de bestandsnaam naar het klembord", | ||||
| 		CommitPrefixPatternError:            "Fout in commitPrefix patroon", | ||||
| 		NoFilesStagedTitle:                  "Geen bestanden gestaged", | ||||
| 		NoFilesStagedPrompt:                 "Je hebt geen bestanden gestaged. Commit alle bestanden?", | ||||
| @@ -330,9 +328,9 @@ func dutchTranslationSet() TranslationSet { | ||||
| 		ToggleTreeView:                      "Toggle bestandsboom weergave", | ||||
| 		CreateNewBranchFromCommit:           "Creëer nieuwe branch van commit", | ||||
| 		CopySubmoduleNameToClipboard:        "Kopieer submodule naam naar klembord", | ||||
| 		EnterSubmodule:                      "Enter submodule", | ||||
| 		AddSubmodule:                        "Voeg nieuwe submodule toe", | ||||
| 		InitSubmodule:                       "Initialiseer submodule", | ||||
| 		EnterSubmoduleTooltip:               "Enter submodule", | ||||
| 		NewSubmodule:                        "Voeg nieuwe submodule toe", | ||||
| 		InitSubmoduleTooltip:                "Initialiseer submodule", | ||||
| 		ViewBulkSubmoduleOptions:            "Bekijk bulk submodule opties", | ||||
| 		CreatePullRequestOptions:            "Bekijk opties voor pull-aanvraag", | ||||
| 		ConfirmRevertCommit:                 "Weet u zeker dat u {{.selectedCommit}} ongedaan wilt maken?", | ||||
|   | ||||
							
								
								
									
										1734
									
								
								pkg/i18n/english.go
									
									
									
									
									
								
							
							
						
						
									
										1734
									
								
								pkg/i18n/english.go
									
									
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -39,7 +39,7 @@ func japaneseTranslationSet() TranslationSet { | ||||
| 		CredentialsPassword:     "パスワード", | ||||
| 		CredentialsPassphrase:   "SSH鍵のパスフレーズを入力", | ||||
| 		PassUnameWrong:          "パスワード, パスフレーズまたはユーザ名が間違っています。", | ||||
| 		CommitChanges:           "変更をコミット", | ||||
| 		Commit:                  "変更をコミット", | ||||
| 		AmendLastCommit:         "最新のコミットにamend", | ||||
| 		AmendLastCommitTitle:    "最新のコミットにamend", | ||||
| 		SureToAmend:             "最新のコミットに変更をamendします。よろしいですか? コミットメッセージはコミットパネルから変更できます。", | ||||
| @@ -48,7 +48,7 @@ func japaneseTranslationSet() TranslationSet { | ||||
| 		StatusTitle:             "ステータス", | ||||
| 		Menu:                    "メニュー", | ||||
| 		Execute:                 "実行", | ||||
| 		ToggleStaged:            "ステージ/アンステージ", | ||||
| 		Stage:                   "ステージ/アンステージ", | ||||
| 		ToggleStagedAll:         "すべての変更をステージ/アンステージ", | ||||
| 		ToggleTreeView:          "ファイルツリーの表示を切り替え", | ||||
| 		OpenMergeTool:           "Git mergetoolを開く", | ||||
| @@ -82,7 +82,6 @@ func japaneseTranslationSet() TranslationSet { | ||||
| 		Confirm:                 "確認", | ||||
| 		Close:                   "閉じる", | ||||
| 		Quit:                    "終了", | ||||
| 		// LcSquashDown:                        "Squash down", | ||||
| 		// LcFixupCommit:                       "Fixup commit", | ||||
| 		// NoCommitsThisBranch:                 "No commits for this branch", | ||||
| 		// CannotSquashOrFixupFirstCommit:      "There's no commit below to squash into", | ||||
| @@ -92,13 +91,13 @@ func japaneseTranslationSet() TranslationSet { | ||||
| 		// Squash:                              "Squash", | ||||
| 		// LcPickCommit:                        "Pick commit (when mid-rebase)", | ||||
| 		RevertCommit:       "コミットをrevert", | ||||
| 		RewordCommit:       "コミットメッセージを変更", | ||||
| 		DeleteCommit:       "コミットを削除", | ||||
| 		Reword:             "コミットメッセージを変更", | ||||
| 		DropCommit:         "コミットを削除", | ||||
| 		MoveDownCommit:     "コミットを1つ下に移動", | ||||
| 		MoveUpCommit:       "コミットを1つ上に移動", | ||||
| 		EditCommit:         "コミットを編集", | ||||
| 		AmendToCommit:      "ステージされた変更でamendコミット", | ||||
| 		RenameCommitEditor: "エディタでコミットメッセージを編集", | ||||
| 		EditCommitTooltip:  "コミットを編集", | ||||
| 		AmendCommitTooltip: "ステージされた変更でamendコミット", | ||||
| 		RewordCommitEditor: "エディタでコミットメッセージを編集", | ||||
| 		Error:              "エラー", | ||||
| 		// LcPickHunk:                          "Pick hunk", | ||||
| 		// LcPickAllHunks:                      "Pick all hunks", | ||||
| @@ -143,29 +142,29 @@ func japaneseTranslationSet() TranslationSet { | ||||
| 		MergeToolPrompt:                  "`git mergetool`を開きます。よろしいですか?", | ||||
| 		IntroPopupMessage:                japaneseIntroPopupMessage, | ||||
| 		// GitconfigParseErr:                   `Gogit failed to parse your gitconfig file due to the presence of unquoted '\' characters. Removing these should fix the issue.`, | ||||
| 		EditFile:               `ファイルを編集`, | ||||
| 		OpenFile:               `ファイルを開く`, | ||||
| 		IgnoreFile:             `.gitignoreに追加`, | ||||
| 		RefreshFiles:           `ファイルをリフレッシュ`, | ||||
| 		MergeIntoCurrentBranch: `現在のブランチにマージ`, | ||||
| 		ConfirmQuit:            `終了します。よろしいですか?`, | ||||
| 		SwitchRepo:             `最近使用したリポジトリに切り替え`, | ||||
| 		AllBranchesLogGraph:    `すべてのブランチログを表示`, | ||||
| 		UnsupportedGitService:  `サポートされていないGitサービスです。`, | ||||
| 		CreatePullRequest:      `Pull Requestを作成`, | ||||
| 		CopyPullRequestURL:     `Pull RequestのURLをクリップボードにコピー`, | ||||
| 		NoBranchOnRemote:       `ブランチがリモートに存在しません。リモートにpushしてください。`, | ||||
| 		Fetch:                  `Fetch`, | ||||
| 		EditFile:              `ファイルを編集`, | ||||
| 		OpenFile:              `ファイルを開く`, | ||||
| 		IgnoreFile:            `.gitignoreに追加`, | ||||
| 		RefreshFiles:          `ファイルをリフレッシュ`, | ||||
| 		Merge:                 `現在のブランチにマージ`, | ||||
| 		ConfirmQuit:           `終了します。よろしいですか?`, | ||||
| 		SwitchRepo:            `最近使用したリポジトリに切り替え`, | ||||
| 		AllBranchesLogGraph:   `すべてのブランチログを表示`, | ||||
| 		UnsupportedGitService: `サポートされていないGitサービスです。`, | ||||
| 		CreatePullRequest:     `Pull Requestを作成`, | ||||
| 		CopyPullRequestURL:    `Pull RequestのURLをクリップボードにコピー`, | ||||
| 		NoBranchOnRemote:      `ブランチがリモートに存在しません。リモートにpushしてください。`, | ||||
| 		Fetch:                 `Fetch`, | ||||
| 		// NoAutomaticGitFetchTitle:            `No automatic git fetch`, | ||||
| 		// NoAutomaticGitFetchBody:             `Lazygit can't use "git fetch" in a private repo; use 'f' in the files panel to run "git fetch" manually`, | ||||
| 		// FileEnter:                           `stage individual hunks/lines for file, or collapse/expand for directory`, | ||||
| 		// FileStagingRequirements:             `Can only stage individual lines for tracked files`, | ||||
| 		StageSelection:          `選択行をステージ/アンステージ`, | ||||
| 		StageSelectionTooltip:   `選択行をステージ/アンステージ`, | ||||
| 		DiscardSelection:        `変更を削除 (git reset)`, | ||||
| 		ToggleRangeSelect:       `範囲選択を切り替え`, | ||||
| 		ToggleSelectHunk:        `Hunk選択を切り替え`, | ||||
| 		ToggleSelectionForPatch: `行をパッチに追加/削除`, | ||||
| 		ToggleStagingPanel:      `パネルを切り替え`, | ||||
| 		ToggleStagingView:       `パネルを切り替え`, | ||||
| 		ReturnToFilesPanel:      `ファイル一覧に戻る`, | ||||
| 		// FastForward:                         `fast-forward this branch from its upstream`, | ||||
| 		// Fetching:                            "Fetching and fast-forwarding {{.from}} -> {{.to}} ...", | ||||
| @@ -204,28 +203,28 @@ func japaneseTranslationSet() TranslationSet { | ||||
| 		CherryPickCopy: "コミットをコピー (cherry-pick)", | ||||
| 		PasteCommits:   "コミットを貼り付け (cherry-pick)", | ||||
| 		// SureCherryPick:                      "Are you sure you want to cherry-pick the copied commits onto this branch?", | ||||
| 		CherryPick:          "Cherry-Pick", | ||||
| 		Donate:              "支援", | ||||
| 		AskQuestion:         "質問", | ||||
| 		PrevLine:            "前の行を選択", | ||||
| 		NextLine:            "次の行を選択", | ||||
| 		PrevHunk:            "前のhunkを選択", | ||||
| 		NextHunk:            "次のhunkを選択", | ||||
| 		PrevConflict:        "前のコンフリクトを選択", | ||||
| 		NextConflict:        "次のコンフリクトを選択", | ||||
| 		SelectPrevHunk:      "前のhunkを選択", | ||||
| 		SelectNextHunk:      "次のhunkを選択", | ||||
| 		ScrollDown:          "下にスクロール", | ||||
| 		ScrollUp:            "上にスクロール", | ||||
| 		ScrollUpMainPanel:   "メインパネルを上にスクロール", | ||||
| 		ScrollDownMainPanel: "メインパネルを下にスクロール", | ||||
| 		AmendCommitTitle:    "Amendコミット", | ||||
| 		AmendCommitPrompt:   "ステージされたファイルで現在のコミットをamendします。よろしいですか?", | ||||
| 		DropCommitTitle:     "コミットを削除", | ||||
| 		DropCommitPrompt:    "選択されたコミットを削除します。よろしいですか?", | ||||
| 		PullingStatus:       "Pull中", | ||||
| 		PushingStatus:       "Push中", | ||||
| 		FetchingStatus:      "Fetch中", | ||||
| 		CherryPick:           "Cherry-Pick", | ||||
| 		Donate:               "支援", | ||||
| 		AskQuestion:          "質問", | ||||
| 		PrevLine:             "前の行を選択", | ||||
| 		NextLine:             "次の行を選択", | ||||
| 		PrevHunk:             "前のhunkを選択", | ||||
| 		NextHunk:             "次のhunkを選択", | ||||
| 		PrevConflict:         "前のコンフリクトを選択", | ||||
| 		NextConflict:         "次のコンフリクトを選択", | ||||
| 		SelectPrevHunk:       "前のhunkを選択", | ||||
| 		SelectNextHunk:       "次のhunkを選択", | ||||
| 		ScrollDown:           "下にスクロール", | ||||
| 		ScrollUp:             "上にスクロール", | ||||
| 		ScrollUpMainWindow:   "メインパネルを上にスクロール", | ||||
| 		ScrollDownMainWindow: "メインパネルを下にスクロール", | ||||
| 		AmendCommitTitle:     "Amendコミット", | ||||
| 		AmendCommitPrompt:    "ステージされたファイルで現在のコミットをamendします。よろしいですか?", | ||||
| 		DropCommitTitle:      "コミットを削除", | ||||
| 		DropCommitPrompt:     "選択されたコミットを削除します。よろしいですか?", | ||||
| 		PullingStatus:        "Pull中", | ||||
| 		PushingStatus:        "Push中", | ||||
| 		FetchingStatus:       "Fetch中", | ||||
| 		// SquashingStatus:                     "Squashing", | ||||
| 		// FixingStatus:                        "Fixing up", | ||||
| 		// DeletingStatus:                      "Deleting", | ||||
| @@ -261,7 +260,7 @@ func japaneseTranslationSet() TranslationSet { | ||||
| 		// LcDiscardUntrackedFiles:             "Discard untracked files", | ||||
| 		HardReset: "hardリセット", | ||||
| 		// LcViewResetOptions:                  `view reset options`, | ||||
| 		CreateFixupCommitDescription: `このコミットに対するfixupコミットを作成`, | ||||
| 		CreateFixupCommitTooltip: `このコミットに対するfixupコミットを作成`, | ||||
| 		// LcSquashAboveCommits:                `squash all 'fixup!' commits above selected commit (autosquash)`, | ||||
| 		// SquashAboveCommits:                  `Squash all 'fixup!' commits above selected commit (autosquash)`, | ||||
| 		SureSquashAboveCommits:   `{{.commit}}に対するすべての fixup! コミットをsquashします。よろしいですか?`, | ||||
| @@ -296,7 +295,7 @@ func japaneseTranslationSet() TranslationSet { | ||||
| 		EnterUpstream:             `'<remote> <branchname>' の形式でupstreamを入力`, | ||||
| 		InvalidUpstream:           "Upstreamの形式が正しくありません。'<remote> <branchname>' の形式で入力してください。", | ||||
| 		ReturnToRemotesList:       `リモート一覧に戻る`, | ||||
| 		AddNewRemote:              `リモートを新規追加`, | ||||
| 		NewRemote:                 `リモートを新規追加`, | ||||
| 		NewRemoteName:             `新規リモート名:`, | ||||
| 		NewRemoteUrl:              `新規リモートURL:`, | ||||
| 		EditRemoteName:            `{{.remoteName}} の新しいリモート名を入力:`, | ||||
| @@ -308,7 +307,7 @@ func japaneseTranslationSet() TranslationSet { | ||||
| 		// LcSetUpstream:                       "Set as upstream of checked-out branch", | ||||
| 		// SetUpstreamTitle:                    "Set upstream branch", | ||||
| 		// SetUpstreamMessage:                  "Are you sure you want to set the upstream branch of '{{.checkedOut}}' to '{{.selected}}'", | ||||
| 		EditRemote:             "リモートを編集", | ||||
| 		EditRemoteTooltip:      "リモートを編集", | ||||
| 		TagCommit:              "タグを作成", | ||||
| 		TagMenuTitle:           "タグを作成", | ||||
| 		TagNameTitle:           "タグ名", | ||||
| @@ -317,8 +316,9 @@ func japaneseTranslationSet() TranslationSet { | ||||
| 		LightweightTag:         "軽量タグ", | ||||
| 		PushTagTitle:           "リモートにタグ '{{.tagName}}' をpush", | ||||
| 		PushTag:                "タグをpush", | ||||
| 		CreateTag:              "タグを作成", | ||||
| 		FetchRemote:            "リモートをfetch", | ||||
| 		NewTag:                 "タグを作成", | ||||
| 		FetchRemoteTooltip:     "リモートをfetch", | ||||
| 		FetchingRemoteStatus:   "リモートをfetch", | ||||
| 		CheckoutCommit:         "コミットをチェックアウト", | ||||
| 		SureCheckoutThisCommit: "選択されたコミットをチェックアウトします。よろしいですか?", | ||||
| 		// LcGitFlowOptions:                    "Show git-flow options", | ||||
| @@ -335,7 +335,7 @@ func japaneseTranslationSet() TranslationSet { | ||||
| 		RenameBranch:        "ブランチ名を変更", | ||||
| 		NewBranchNamePrompt: "新しいブランチ名を入力", | ||||
| 		// RenameBranchWarning:                 "This branch is tracking a remote. This action will only rename the local branch name, not the name of the remote branch. Continue?", | ||||
| 		OpenMenu: "メニューを開く", | ||||
| 		OpenKeybindingsMenu: "メニューを開く", | ||||
| 		// LcResetCherryPick:                   "Reset cherry-picked (copied) commits selection", | ||||
| 		NextTab:               "次のタブ", | ||||
| 		PrevTab:               "前のタブ", | ||||
| @@ -364,9 +364,9 @@ func japaneseTranslationSet() TranslationSet { | ||||
| 		ExitDiffMode:     "差分モードを終了", | ||||
| 		DiffingMenuTitle: "差分", | ||||
| 		// LcSwapDiff:                          "Reverse diff direction", | ||||
| 		OpenDiffingMenu: "差分メニューを開く", | ||||
| 		ViewDiffingOptions: "差分メニューを開く", | ||||
| 		// // the actual view is the extras view which I intend to give more tabs in future but for now we'll only mention the command log part | ||||
| 		OpenExtrasMenu: "コマンドログメニューを開く", | ||||
| 		OpenCommandLogMenu: "コマンドログメニューを開く", | ||||
| 		// LcShowingGitDiff:                    "Showing output for:", | ||||
| 		CommitDiff:                     "コミットの差分", | ||||
| 		CopyCommitShaToClipboard:       "コミットのSHAをクリップボードにコピー", | ||||
| @@ -377,9 +377,8 @@ func japaneseTranslationSet() TranslationSet { | ||||
| 		CommitAuthor:                   "コミットの作成者名", | ||||
| 		CopyCommitAttributeToClipboard: "コミットの情報をコピー", | ||||
| 		CopyBranchNameToClipboard:      "ブランチ名をクリップボードにコピー", | ||||
| 		CopyFileNameToClipboard:        "ファイル名をクリップボードにコピー", | ||||
| 		CopyCommitFileNameToClipboard:  "コミットされたファイル名をクリップボードにコピー", | ||||
| 		CopySelectedTexToClipboard:     "選択されたテキストをクリップボードにコピー", | ||||
| 		CopyPathToClipboard:            "ファイル名をクリップボードにコピー", | ||||
| 		CopySelectedTextToClipboard:    "選択されたテキストをクリップボードにコピー", | ||||
| 		// LcCommitPrefixPatternError:          "Error in commitPrefix pattern", | ||||
| 		NoFilesStagedTitle:         "ファイルがステージされていません", | ||||
| 		NoFilesStagedPrompt:        "ファイルがステージされていません。すべての変更をコミットしますか?", | ||||
| @@ -394,7 +393,7 @@ func japaneseTranslationSet() TranslationSet { | ||||
| 		RunningCustomCommandStatus: "カスタムコマンドを実行", | ||||
| 		// LcSubmoduleStashAndReset:            "Stash uncommitted submodule changes and update", | ||||
| 		// LcAndResetSubmodules:                "And reset submodules", | ||||
| 		EnterSubmodule:               "サブモジュールを開く", | ||||
| 		EnterSubmoduleTooltip:        "サブモジュールを開く", | ||||
| 		CopySubmoduleNameToClipboard: "サブモジュール名をクリップボードにコピー", | ||||
| 		RemoveSubmodule:              "サブモジュールを削除", | ||||
| 		RemoveSubmodulePrompt:        "サブモジュール '%s' とそのディレクトリを削除します。よろしいですか? この操作は取り消せません。", | ||||
| @@ -402,14 +401,14 @@ func japaneseTranslationSet() TranslationSet { | ||||
| 		NewSubmoduleName:             "新規サブモジュール名:", | ||||
| 		NewSubmoduleUrl:              "新規サブモジュールのURL:", | ||||
| 		NewSubmodulePath:             "新規サブモジュールのパス:", | ||||
| 		AddSubmodule:                 "サブモジュールを新規追加", | ||||
| 		NewSubmodule:                 "サブモジュールを新規追加", | ||||
| 		AddingSubmoduleStatus:        "サブモジュールを新規追加", | ||||
| 		UpdateSubmoduleUrl:           "サブモジュール '%s' のURLを更新", | ||||
| 		UpdatingSubmoduleUrlStatus:   "URLを更新", | ||||
| 		EditSubmoduleUrl:             "サブモジュールのURLを更新", | ||||
| 		InitializingSubmoduleStatus:  "サブモジュールを初期化", | ||||
| 		InitSubmodule:                "サブモジュールを初期化", | ||||
| 		SubmoduleUpdate:              "サブモジュールを更新", | ||||
| 		InitSubmoduleTooltip:         "サブモジュールを初期化", | ||||
| 		SubmoduleUpdateTooltip:       "サブモジュールを更新", | ||||
| 		UpdatingSubmoduleStatus:      "サブモジュールを更新", | ||||
| 		BulkInitSubmodules:           "サブモジュールを一括初期化", | ||||
| 		BulkUpdateSubmodules:         "サブモジュールを一括更新", | ||||
|   | ||||
| @@ -38,7 +38,7 @@ func koreanTranslationSet() TranslationSet { | ||||
| 		CredentialsPassword:                 "패스워드", | ||||
| 		CredentialsPassphrase:               "SSH키의 passphrase 입력", | ||||
| 		PassUnameWrong:                      "패스워드, passphrase 또는 사용자 이름이 잘못되었습니다.", | ||||
| 		CommitChanges:                       "커밋 변경내용", | ||||
| 		Commit:                              "커밋 변경내용", | ||||
| 		AmendLastCommit:                     "마지맛 커밋 수정", | ||||
| 		AmendLastCommitTitle:                "마지막 커밋 수정", | ||||
| 		SureToAmend:                         "마지막 커밋을 수정하시겠습니까? 그런 다음 커밋 패널에서 커밋 메시지를 변경할 수 있습니다.", | ||||
| @@ -47,7 +47,7 @@ func koreanTranslationSet() TranslationSet { | ||||
| 		StatusTitle:                         "상태", | ||||
| 		Menu:                                "메뉴", | ||||
| 		Execute:                             "실행", | ||||
| 		ToggleStaged:                        "Staged 전환", | ||||
| 		Stage:                               "Staged 전환", | ||||
| 		ToggleStagedAll:                     "모든 변경을 Staged/unstaged으로 전환", | ||||
| 		ToggleTreeView:                      "파일 트리뷰로 전환", | ||||
| 		OpenMergeTool:                       "Git mergetool를 열기", | ||||
| @@ -82,25 +82,23 @@ func koreanTranslationSet() TranslationSet { | ||||
| 		Confirm:                             "확인", | ||||
| 		Close:                               "닫기", | ||||
| 		Quit:                                "종료", | ||||
| 		SquashDown:                          "Squash down", | ||||
| 		FixupCommit:                         "Fixup commit", | ||||
| 		NoCommitsThisBranch:                 "이 브랜치에 커밋이 없습니다.", | ||||
| 		CannotSquashOrFixupFirstCommit:      "There's no commit below to squash into", | ||||
| 		Fixup:                               "Fixup", | ||||
| 		SureFixupThisCommit:                 "Are you sure you want to 'fixup' this commit? It will be merged into the commit below", | ||||
| 		SureSquashThisCommit:                "Are you sure you want to squash this commit into the commit below?", | ||||
| 		Squash:                              "Squash", | ||||
| 		PickCommit:                          "Pick commit (when mid-rebase)", | ||||
| 		PickCommitTooltip:                   "Pick commit (when mid-rebase)", | ||||
| 		RevertCommit:                        "커밋 되돌리기", | ||||
| 		RewordCommit:                        "커밋메시지 변경", | ||||
| 		DeleteCommit:                        "커밋 삭제", | ||||
| 		Reword:                              "커밋메시지 변경", | ||||
| 		DropCommit:                          "커밋 삭제", | ||||
| 		MoveDownCommit:                      "커밋을 1개 아래로 이동", | ||||
| 		MoveUpCommit:                        "커밋을 1개 위로 이동", | ||||
| 		EditCommit:                          "커밋을 편집", | ||||
| 		AmendToCommit:                       "Amend commit with staged changes", | ||||
| 		EditCommitTooltip:                   "커밋을 편집", | ||||
| 		AmendCommitTooltip:                  "Amend commit with staged changes", | ||||
| 		ResetAuthor:                         "Reset commit author", | ||||
| 		SureResetCommitAuthor:               "The author field of this commit will be updated to match the configured user. This also renews the author timestamp. Continue?", | ||||
| 		RenameCommitEditor:                  "에디터에서 커밋메시지 수정", | ||||
| 		RewordCommitEditor:                  "에디터에서 커밋메시지 수정", | ||||
| 		Error:                               "오류", | ||||
| 		PickHunk:                            "Pick hunk", | ||||
| 		PickAllHunks:                        "Pick all hunks", | ||||
| @@ -149,7 +147,7 @@ func koreanTranslationSet() TranslationSet { | ||||
| 		OpenFile:                            `파일 닫기`, | ||||
| 		IgnoreFile:                          `.gitignore에 추가`, | ||||
| 		RefreshFiles:                        `파일 새로고침`, | ||||
| 		MergeIntoCurrentBranch:              `현재 브랜치에 병합`, | ||||
| 		Merge:                               `현재 브랜치에 병합`, | ||||
| 		ConfirmQuit:                         `정말로 종료하시겠습니까?`, | ||||
| 		SwitchRepo:                          `최근에 사용한 저장소로 전환`, | ||||
| 		AllBranchesLogGraph:                 `모든 브랜치 로그 표시`, | ||||
| @@ -162,12 +160,12 @@ func koreanTranslationSet() TranslationSet { | ||||
| 		NoAutomaticGitFetchBody:             `Lazygit은 private 저장소에서 "git fetch"를 사용할 수 없습니다. 파일 패널에서 'f'를 사용하여 "git fetch"를 수동으로 실행하세요.`, | ||||
| 		FileEnter:                           `Stage individual hunks/lines for file, or collapse/expand for directory`, | ||||
| 		FileStagingRequirements:             `추적된 파일에 대해 개별 라인만 stage할 수 있습니다.`, | ||||
| 		StageSelection:                      `선택한 행을 staged / unstaged`, | ||||
| 		StageSelectionTooltip:               `선택한 행을 staged / unstaged`, | ||||
| 		DiscardSelection:                    `변경을 삭제 (git reset)`, | ||||
| 		ToggleRangeSelect:                   `드래그 선택 전환`, | ||||
| 		ToggleSelectHunk:                    `Toggle select hunk`, | ||||
| 		ToggleSelectionForPatch:             `Line(s)을 패치에 추가/삭제`, | ||||
| 		ToggleStagingPanel:                  `패널 전환`, | ||||
| 		ToggleStagingView:                   `패널 전환`, | ||||
| 		ReturnToFilesPanel:                  `파일 목록으로 돌아가기`, | ||||
| 		FastForward:                         `Fast-forward this branch from its upstream`, | ||||
| 		FastForwarding:                      "Fast-forwarding", | ||||
| @@ -214,8 +212,8 @@ func koreanTranslationSet() TranslationSet { | ||||
| 		SelectNextHunk:                      "다음 hunk를 선택", | ||||
| 		ScrollDown:                          "아래로 스크롤", | ||||
| 		ScrollUp:                            "위로 스크롤", | ||||
| 		ScrollUpMainPanel:                   "메인 패널을 위로 스크롤", | ||||
| 		ScrollDownMainPanel:                 "메인 패널을 아래로로 스크롤", | ||||
| 		ScrollUpMainWindow:                  "메인 패널을 위로 스크롤", | ||||
| 		ScrollDownMainWindow:                "메인 패널을 아래로로 스크롤", | ||||
| 		AmendCommitTitle:                    "Amend commit", | ||||
| 		AmendCommitPrompt:                   "Are you sure you want to amend this commit with your staged files?", | ||||
| 		DropCommitTitle:                     "커밋 삭제", | ||||
| @@ -240,8 +238,8 @@ func koreanTranslationSet() TranslationSet { | ||||
| 		RemoteBranchesDynamicTitle:          "원격브랜치 (%s)", | ||||
| 		ViewItemFiles:                       "View selected item's files", | ||||
| 		CommitFilesTitle:                    "커밋 파일", | ||||
| 		CheckoutCommitFile:                  "Checkout file", | ||||
| 		DiscardOldFileChange:                "Discard this commit's changes to this file", | ||||
| 		CheckoutCommitFileTooltip:           "Checkout file", | ||||
| 		DiscardOldFileChangeTooltip:         "Discard this commit's changes to this file", | ||||
| 		DiscardFileChangesTitle:             "파일 변경 사항 버리기", | ||||
| 		DiscardFileChangesPrompt:            "Are you sure you want to discard this commit's changes to this file? If this file was created in this commit, it will be deleted", | ||||
| 		DisabledForGPG:                      "Feature not available for users using GPG", | ||||
| @@ -249,7 +247,7 @@ func koreanTranslationSet() TranslationSet { | ||||
| 		AutoStashTitle:                      "Autostash?", | ||||
| 		AutoStashPrompt:                     "You must stash and pop your changes to bring them across. Do this automatically? (enter/esc)", | ||||
| 		StashPrefix:                         "Auto-stashing changes for ", | ||||
| 		ViewDiscardOptions:                  "View 'discard changes' options", | ||||
| 		Discard:                             "View 'discard changes' options", | ||||
| 		Cancel:                              "취소", | ||||
| 		DiscardAllChanges:                   "모든 변경사항 버리기", | ||||
| 		DiscardUnstagedChanges:              "Discard unstaged changes", | ||||
| @@ -258,8 +256,8 @@ func koreanTranslationSet() TranslationSet { | ||||
| 		DiscardUntrackedFiles:               "Discard untracked files", | ||||
| 		HardReset:                           "Hard reset", | ||||
| 		ViewResetOptions:                    `View reset options`, | ||||
| 		CreateFixupCommitDescription:        `Create fixup commit for this commit`, | ||||
| 		SquashAboveCommits:                  `Squash all 'fixup!' commits above selected commit (autosquash)`, | ||||
| 		CreateFixupCommitTooltip:            `Create fixup commit for this commit`, | ||||
| 		SquashAboveCommitsTooltip:           `Squash all 'fixup!' commits above selected commit (autosquash)`, | ||||
| 		SureSquashAboveCommits:              `Are you sure you want to squash all fixup! commits above {{.commit}}?`, | ||||
| 		CreateFixupCommit:                   `Create fixup commit`, | ||||
| 		SureCreateFixupCommit:               `Are you sure you want to create a fixup! commit for commit {{.commit}}?`, | ||||
| @@ -287,12 +285,12 @@ func koreanTranslationSet() TranslationSet { | ||||
| 		ViewPatchOptions:                    "커스텀 Patch 옵션 보기", | ||||
| 		PatchOptionsTitle:                   "Patch 옵션", | ||||
| 		NoPatchError:                        "No patch created yet. To start building a patch, use 'space' on a commit file or enter to add specific lines", | ||||
| 		EnterFile:                           "Enter file to add selected lines to the patch (or toggle directory collapsed)", | ||||
| 		EnterCommitFile:                     "Enter file to add selected lines to the patch (or toggle directory collapsed)", | ||||
| 		// ExitCustomPatchBuilder:              ``, | ||||
| 		EnterUpstream:              `'<remote> <branchname>'와 같은 형식으로 입력하세요.`, | ||||
| 		InvalidUpstream:            "Upstream의 형식이 잘못되었습니다.'<remote> <branchname>' 와 같은 형식으로 입력하세요.", | ||||
| 		ReturnToRemotesList:        `원격목록으로 돌아가기`, | ||||
| 		AddNewRemote:               `새로운 Remote 추가`, | ||||
| 		NewRemote:                  `새로운 Remote 추가`, | ||||
| 		NewRemoteName:              `새로운 Remote 이름:`, | ||||
| 		NewRemoteUrl:               `새로운 Remote URL:`, | ||||
| 		EditRemoteName:             `{{.remoteName}} 의 새로운 Remote 이름 입력:`, | ||||
| @@ -304,7 +302,7 @@ func koreanTranslationSet() TranslationSet { | ||||
| 		SetUpstream:                "Set as upstream of checked-out branch", | ||||
| 		SetUpstreamTitle:           "Set upstream branch", | ||||
| 		SetUpstreamMessage:         "Are you sure you want to set the upstream branch of '{{.checkedOut}}' to '{{.selected}}'", | ||||
| 		EditRemote:                 "Remote를 수정", | ||||
| 		EditRemoteTooltip:          "Remote를 수정", | ||||
| 		TagCommit:                  "Tag commit", | ||||
| 		TagMenuTitle:               "태그 작성", | ||||
| 		TagNameTitle:               "태그 이름", | ||||
| @@ -313,8 +311,9 @@ func koreanTranslationSet() TranslationSet { | ||||
| 		LightweightTag:             "Lightweight tag", | ||||
| 		PushTagTitle:               "원격에 태그 '{{.tagName}}' 를 푸시", | ||||
| 		PushTag:                    "태그를 push", | ||||
| 		CreateTag:                  "태그를 생성", | ||||
| 		FetchRemote:                "원격을 업데이트", | ||||
| 		NewTag:                     "태그를 생성", | ||||
| 		FetchRemoteTooltip:         "원격을 업데이트", | ||||
| 		FetchingRemoteStatus:       "원격을 업데이트 중", | ||||
| 		CheckoutCommit:             "커밋을 체크아웃", | ||||
| 		SureCheckoutThisCommit:     "정말로 선택한 커밋을 체크아웃 하시겠습니까?", | ||||
| 		GitFlowOptions:             "Git-flow 옵션 보기", | ||||
| @@ -331,7 +330,7 @@ func koreanTranslationSet() TranslationSet { | ||||
| 		RenameBranch:               "브랜치 이름 변경", | ||||
| 		NewBranchNamePrompt:        "새로운 브랜치 이름 입력", | ||||
| 		RenameBranchWarning:        "This branch is tracking a remote. This action will only rename the local branch name, not the name of the remote branch. Continue?", | ||||
| 		OpenMenu:                   "매뉴 열기", | ||||
| 		OpenKeybindingsMenu:        "매뉴 열기", | ||||
| 		ResetCherryPick:            "Reset cherry-picked (copied) commits selection", | ||||
| 		NextTab:                    "이전 탭", | ||||
| 		PrevTab:                    "다음 탭", | ||||
| @@ -360,9 +359,9 @@ func koreanTranslationSet() TranslationSet { | ||||
| 		ExitDiffMode:               "Diff 모드 종료", | ||||
| 		DiffingMenuTitle:           "Diff", | ||||
| 		SwapDiff:                   "Reverse diff direction", | ||||
| 		OpenDiffingMenu:            "Diff 메뉴 열기", | ||||
| 		ViewDiffingOptions:         "Diff 메뉴 열기", | ||||
| 		// the actual view is the extras view which I intend to give more tabs in future but for now we'll only mention the command log part | ||||
| 		OpenExtrasMenu:                      "명령어 로그 메뉴 열기", | ||||
| 		OpenCommandLogMenu:                  "명령어 로그 메뉴 열기", | ||||
| 		ShowingGitDiff:                      "Showing output for:", | ||||
| 		CommitDiff:                          "커밋의 iff", | ||||
| 		CopyCommitShaToClipboard:            "커밋 SHA를 클립보드에 복사", | ||||
| @@ -373,9 +372,8 @@ func koreanTranslationSet() TranslationSet { | ||||
| 		CommitAuthor:                        "커밋 작성자", | ||||
| 		CopyCommitAttributeToClipboard:      "커밋 attribute 복사", | ||||
| 		CopyBranchNameToClipboard:           "브랜치명을 클립보드에 복사", | ||||
| 		CopyFileNameToClipboard:             "파일명을 클립보드에 복사", | ||||
| 		CopyCommitFileNameToClipboard:       "커밋한 파일명을 클립보드에 복사", | ||||
| 		CopySelectedTexToClipboard:          "선택한 텍스트를 클립보드에 복사", | ||||
| 		CopyPathToClipboard:                 "파일명을 클립보드에 복사", | ||||
| 		CopySelectedTextToClipboard:         "선택한 텍스트를 클립보드에 복사", | ||||
| 		CommitPrefixPatternError:            "Error in commitPrefix pattern", | ||||
| 		NoFilesStagedTitle:                  "파일이 Staged 되지 않았습니다.", | ||||
| 		NoFilesStagedPrompt:                 "파일이 Staged 되지 않았습니다. 모든 파일을 커밋하시겠습니까?", | ||||
| @@ -390,7 +388,7 @@ func koreanTranslationSet() TranslationSet { | ||||
| 		RunningCustomCommandStatus:          "커스텀 명령어 실행", | ||||
| 		SubmoduleStashAndReset:              "Stash uncommitted submodule changes and update", | ||||
| 		AndResetSubmodules:                  "And reset submodules", | ||||
| 		EnterSubmodule:                      "서브모듈 열기", | ||||
| 		EnterSubmoduleTooltip:               "서브모듈 열기", | ||||
| 		CopySubmoduleNameToClipboard:        "서브모듈 이름을 클립보드에 복사", | ||||
| 		RemoveSubmodule:                     "서브모듈 삭제", | ||||
| 		RemoveSubmodulePrompt:               "정말로 서브모듈 '%s'및 해당 디렉토리를 제거하시겠습니까? 이것은 되돌릴 수 없습니다.", | ||||
| @@ -398,14 +396,14 @@ func koreanTranslationSet() TranslationSet { | ||||
| 		NewSubmoduleName:                    "새로운 서브모듈이름 :", | ||||
| 		NewSubmoduleUrl:                     "새로운 서브모듈의 URL:", | ||||
| 		NewSubmodulePath:                    "새로운 서브모듈의 경로", | ||||
| 		AddSubmodule:                        "새로운 서브모듈 추가", | ||||
| 		NewSubmodule:                        "새로운 서브모듈 추가", | ||||
| 		AddingSubmoduleStatus:               "새로운 서브모듈 추가", | ||||
| 		UpdateSubmoduleUrl:                  "서브모듈 '%s' 의 URL을 업데이트", | ||||
| 		UpdatingSubmoduleUrlStatus:          "Updating URL", | ||||
| 		EditSubmoduleUrl:                    "서브모듈의 URL을 수정", | ||||
| 		InitializingSubmoduleStatus:         "서브모듈 초기화", | ||||
| 		InitSubmodule:                       "서브모듈 초기화", | ||||
| 		SubmoduleUpdate:                     "서브모듈 업데이트", | ||||
| 		InitSubmoduleTooltip:                "서브모듈 초기화", | ||||
| 		SubmoduleUpdateTooltip:              "서브모듈 업데이트", | ||||
| 		UpdatingSubmoduleStatus:             "서브모듈 업데이트", | ||||
| 		BulkInitSubmodules:                  "서브모듈 일괄 초기화", | ||||
| 		BulkUpdateSubmodules:                "서브모듈 일괄 업데이트", | ||||
|   | ||||
| @@ -15,7 +15,7 @@ func polishTranslationSet() TranslationSet { | ||||
| 		CredentialsPassword:                 "Hasło", | ||||
| 		CredentialsPassphrase:               "Fraza", | ||||
| 		PassUnameWrong:                      "Niewłaściwe hasło, fraza lub nazwa użytkownika", | ||||
| 		CommitChanges:                       "Zatwierdź zmiany", | ||||
| 		Commit:                              "Zatwierdź zmiany", | ||||
| 		AmendLastCommit:                     "Zmień ostatni commit", | ||||
| 		AmendLastCommitTitle:                "Zmień ostatni commit", | ||||
| 		SureToAmend:                         "Czy na pewno chcesz zmienić ostatni commit? Możesz zmienić komunikat commitu z panelu commitów.", | ||||
| @@ -25,7 +25,7 @@ func polishTranslationSet() TranslationSet { | ||||
| 		GlobalTitle:                         "Globalne", | ||||
| 		Menu:                                "Menu", | ||||
| 		Execute:                             "Wykonaj", | ||||
| 		ToggleStaged:                        "Przełącz stan poczekalni", | ||||
| 		Stage:                               "Przełącz stan poczekalni", | ||||
| 		ToggleStagedAll:                     "Przełącz stan poczekalni wszystkich", | ||||
| 		Refresh:                             "Odśwież", | ||||
| 		Scroll:                              "Przewiń", | ||||
| @@ -52,14 +52,12 @@ func polishTranslationSet() TranslationSet { | ||||
| 		CloseCancel:                         "Zamknij", | ||||
| 		Confirm:                             "Potwierdź", | ||||
| 		Close:                               "Zamknij", | ||||
| 		SquashDown:                          "Ściśnij", | ||||
| 		FixupCommit:                         "Napraw commit", | ||||
| 		NoCommitsThisBranch:                 "Brak commitów dla tej gałęzi", | ||||
| 		CannotSquashOrFixupFirstCommit:      "There's no commit below to squash into", | ||||
| 		Fixup:                               "Napraw", | ||||
| 		SureFixupThisCommit:                 "Jesteś pewny, ze chcesz naprawić ten commit? Commit poniżej zostanie spłaszczony w górę wraz z tym", | ||||
| 		RewordCommit:                        "Zmień nazwę commita", | ||||
| 		RenameCommitEditor:                  "Zmień nazwę commita w edytorze", | ||||
| 		Reword:                              "Zmień nazwę commita", | ||||
| 		RewordCommitEditor:                  "Zmień nazwę commita w edytorze", | ||||
| 		Error:                               "Błąd", | ||||
| 		PickHunk:                            "Wybierz kawałek", | ||||
| 		PickAllHunks:                        "Wybierz oba kawałki", | ||||
| @@ -89,7 +87,7 @@ func polishTranslationSet() TranslationSet { | ||||
| 		OpenFile:                            "Otwórz plik", | ||||
| 		IgnoreFile:                          "Dodaj do .gitignore", | ||||
| 		RefreshFiles:                        "Odśwież pliki", | ||||
| 		MergeIntoCurrentBranch:              "Scal do obecnej gałęzi", | ||||
| 		Merge:                               "Scal do obecnej gałęzi", | ||||
| 		ConfirmQuit:                         "Na pewno chcesz wyjść z programu?", | ||||
| 		AllBranchesLogGraph:                 "Pokaż wszystkie logi gałęzi", | ||||
| 		UnsupportedGitService:               "Nieobsługiwana usługa git", | ||||
| @@ -113,13 +111,13 @@ func polishTranslationSet() TranslationSet { | ||||
| 		SoftReset:                           "Miękki reset", | ||||
| 		SureSquashThisCommit:                "Czy na pewno spłaszczyć ten commit do commita niżej?", | ||||
| 		Squash:                              "Spłaszcz", | ||||
| 		PickCommit:                          "Wybierz commit (podczas zmiany bazy)", | ||||
| 		PickCommitTooltip:                   "Wybierz commit (podczas zmiany bazy)", | ||||
| 		RevertCommit:                        "Odwróć commit", | ||||
| 		DeleteCommit:                        "Usuń commit", | ||||
| 		DropCommit:                          "Usuń commit", | ||||
| 		MoveDownCommit:                      "Przenieś commit 1 w dół", | ||||
| 		MoveUpCommit:                        "Przenieś commit 1 w górę", | ||||
| 		EditCommit:                          "Edytuj commit", | ||||
| 		AmendToCommit:                       "Popraw commit zmianami z poczekalni", | ||||
| 		EditCommitTooltip:                   "Edytuj commit", | ||||
| 		AmendCommitTooltip:                  "Popraw commit zmianami z poczekalni", | ||||
| 		FoundConflictsTitle:                 "Konflikty!", | ||||
| 		ViewMergeRebaseOptions:              "Widok scalenia/opcje zmiany bazy", | ||||
| 		NotMergingOrRebasing:                "W tej chwili nie scalasz ani nie zmieniasz bazy", | ||||
| @@ -162,8 +160,8 @@ func polishTranslationSet() TranslationSet { | ||||
| 		CommitFiles:                         "Pliki commita", | ||||
| 		ViewItemFiles:                       "Przeglądaj pliki commita", | ||||
| 		CommitFilesTitle:                    "Pliki commita", | ||||
| 		CheckoutCommitFile:                  "Plik wybierania", | ||||
| 		DiscardOldFileChange:                "Porzuć zmiany commita dla tego pliku", | ||||
| 		CheckoutCommitFileTooltip:           "Plik wybierania", | ||||
| 		DiscardOldFileChangeTooltip:         "Porzuć zmiany commita dla tego pliku", | ||||
| 		DiscardFileChangesTitle:             "Porzuć zmiany w pliku", | ||||
| 		DiscardFileChangesPrompt:            "Czy na pewno porzucić zmiany w tym pliku? Jeśli ten plik był utworzony w tym commicie, zostanie usunięty", | ||||
| 		DisabledForGPG:                      "Funkcja niedostępna dla użytkowników GPG", | ||||
| @@ -171,7 +169,7 @@ func polishTranslationSet() TranslationSet { | ||||
| 		AutoStashTitle:                      "Automatyczny schowek", | ||||
| 		AutoStashPrompt:                     "Musisz schować i wyciągnąć zmiany żeby je przenosić. Robić to automatycznie? (enter/esc)", | ||||
| 		StashPrefix:                         "Automatyczne dodawanie zmian do schowka dla ", | ||||
| 		ViewDiscardOptions:                  "Pokaż opcje porzucania zmian", | ||||
| 		Discard:                             "Pokaż opcje porzucania zmian", | ||||
| 		Cancel:                              "Anuluj", | ||||
| 		DiscardAllChanges:                   "Porzuć wszystkie zmiany", | ||||
| 		DiscardUnstagedChanges:              "Porzuć zmiany poza poczekalnią", | ||||
| @@ -180,8 +178,8 @@ func polishTranslationSet() TranslationSet { | ||||
| 		DiscardUntrackedFiles:               "Porzuć pliki nieśledzone", | ||||
| 		HardReset:                           "Twardy reset", | ||||
| 		ViewResetOptions:                    "Wyświetl opcje resetu", | ||||
| 		CreateFixupCommitDescription:        "Utwórz commit naprawczy dla tego commita", | ||||
| 		SquashAboveCommits:                  `Spłaszcz wszystkie commity naprawcze powyżej zaznaczonych commitów (autosquash)`, | ||||
| 		CreateFixupCommitTooltip:            "Utwórz commit naprawczy dla tego commita", | ||||
| 		SquashAboveCommitsTooltip:           `Spłaszcz wszystkie commity naprawcze powyżej zaznaczonych commitów (autosquash)`, | ||||
| 		SureSquashAboveCommits:              `Na pewno chcesz spłaszczyć wszystkie commity naprawcze powyżej {{.commit}}?`, | ||||
| 		CreateFixupCommit:                   `Utwóż commit naprawczy`, | ||||
| 		SureCreateFixupCommit:               `Na pewno utworzyć commit naprawczy dla commita {{.commit}}?`, | ||||
|   | ||||
| @@ -57,7 +57,7 @@ func RussianTranslationSet() TranslationSet { | ||||
| 		CredentialsPassphrase:               "Введите пароль для SSH ключа", | ||||
| 		CredentialsPIN:                      "Введите PIN-код для SSH ключа", | ||||
| 		PassUnameWrong:                      "Неверный пароль, кодовая фраза и/или имя пользователя", | ||||
| 		CommitChanges:                       "Сохранить изменения", | ||||
| 		Commit:                              "Сохранить изменения", | ||||
| 		AmendLastCommit:                     "Правка последнего коммита", | ||||
| 		AmendLastCommitTitle:                "Правка Последнего Коммита", | ||||
| 		SureToAmend:                         "Вы уверены, что хотите править последний коммит? Впоследствии можно изменить сообщение коммита на панели коммитов.", | ||||
| @@ -66,7 +66,7 @@ func RussianTranslationSet() TranslationSet { | ||||
| 		StatusTitle:                         "Статус", | ||||
| 		Menu:                                "Меню", | ||||
| 		Execute:                             "Выполнить", | ||||
| 		ToggleStaged:                        "Переключить индекс", | ||||
| 		Stage:                               "Переключить индекс", | ||||
| 		ToggleStagedAll:                     "Все проиндексированные/непроиндексированные", | ||||
| 		ToggleTreeView:                      "Переключить вид дерева файлов", | ||||
| 		OpenMergeTool:                       "Открыть внешний инструмент слияния (git mergetool)", | ||||
| @@ -101,8 +101,6 @@ func RussianTranslationSet() TranslationSet { | ||||
| 		CloseCancel:                         "Закрыть/отменить", | ||||
| 		Confirm:                             "Подтвердить", | ||||
| 		Quit:                                "Выйти", | ||||
| 		SquashDown:                          "Объединить несколько коммитов в один нижний", | ||||
| 		FixupCommit:                         "Объединить несколько коммитов в один отбросив сообщение коммита", | ||||
| 		NoCommitsThisBranch:                 "Нет коммитов для этой ветки", | ||||
| 		UpdateRefHere:                       "Обновить ветку '{{.ref}}' здесь", | ||||
| 		CannotSquashOrFixupFirstCommit:      "Ниже нет коммита, который можно было бы объединить", | ||||
| @@ -110,20 +108,20 @@ func RussianTranslationSet() TranslationSet { | ||||
| 		SureFixupThisCommit:                 "Вы уверены, что хотите объединить несколько коммитов, отбросив сообщение коммита? Он будет объединён с коммитом ниже", | ||||
| 		SureSquashThisCommit:                "Вы уверены, что хотите объединить несколько коммитов в нижний коммит?", | ||||
| 		Squash:                              "Объединить коммиты (Squash)", | ||||
| 		PickCommit:                          "Выбрать коммит (в середине перебазирования)", | ||||
| 		PickCommitTooltip:                   "Выбрать коммит (в середине перебазирования)", | ||||
| 		RevertCommit:                        "Отменить коммит", | ||||
| 		RewordCommit:                        "Перефразировать коммит", | ||||
| 		DeleteCommit:                        "Удалить коммит", | ||||
| 		Reword:                              "Перефразировать коммит", | ||||
| 		DropCommit:                          "Удалить коммит", | ||||
| 		MoveDownCommit:                      "Переместить коммит вниз на один", | ||||
| 		MoveUpCommit:                        "Переместить коммит вверх на один", | ||||
| 		EditCommit:                          "Изменить коммит", | ||||
| 		AmendToCommit:                       "Править последний коммит с проиндексированными изменениями", | ||||
| 		EditCommitTooltip:                   "Изменить коммит", | ||||
| 		AmendCommitTooltip:                  "Править последний коммит с проиндексированными изменениями", | ||||
| 		ResetAuthor:                         "Сброс автора коммита", | ||||
| 		SetAuthor:                           "Установить автора", | ||||
| 		SetResetCommitAuthor:                "Установить/убрать автора коммита", | ||||
| 		AmendCommitAttribute:                "Установить/убрать автора коммита", | ||||
| 		SetAuthorPromptTitle:                "Установить автора (должно выглядеть как «Имя <Email>»)", | ||||
| 		SureResetCommitAuthor:               "Поле автора этого автора будет обновлено в соответствии с настроенным пользователем. Это также обновляет временную метку автора. Продолжить?", | ||||
| 		RenameCommitEditor:                  "Переписать коммит с помощью редактора", | ||||
| 		RewordCommitEditor:                  "Переписать коммит с помощью редактора", | ||||
| 		Error:                               "Ошибка", | ||||
| 		PickHunk:                            "Выбрать эту часть", | ||||
| 		PickAllHunks:                        "Выбрать все части", | ||||
| @@ -179,7 +177,7 @@ func RussianTranslationSet() TranslationSet { | ||||
| 		IgnoreFile:                          `Добавить в .gitignore`, | ||||
| 		ExcludeFile:                         `Добавить в .git/info/exclude`, | ||||
| 		RefreshFiles:                        `Обновить файлы`, | ||||
| 		MergeIntoCurrentBranch:              `Слияние с текущей переключённой веткой`, | ||||
| 		Merge:                               `Слияние с текущей переключённой веткой`, | ||||
| 		ConfirmQuit:                         `Вы уверены, что хотите выйти?`, | ||||
| 		SwitchRepo:                          `Переключиться на последний репозиторий`, | ||||
| 		AllBranchesLogGraph:                 `Показать все логи ветки`, | ||||
| @@ -192,13 +190,13 @@ func RussianTranslationSet() TranslationSet { | ||||
| 		NoAutomaticGitFetchBody:             `Lazygit не может использовать «git fetch» в приватном репозитории; используйте «f» на панели файлов, чтобы запустить «git fetch» вручную`, | ||||
| 		FileEnter:                           `Проиндексировать отдельные части/строки для файла или свернуть/развернуть для каталога`, | ||||
| 		FileStagingRequirements:             `Можно проиндексировать только отдельные строки для отслеживаемых файлов`, | ||||
| 		StageSelection:                      `Переключить строку в проиндексированные / непроиндексированные`, | ||||
| 		StageSelectionTooltip:               `Переключить строку в проиндексированные / непроиндексированные`, | ||||
| 		DiscardSelection:                    `Отменить изменение (git reset)`, | ||||
| 		ToggleRangeSelect:                   `Переключить выборку перетаскивания`, | ||||
| 		ToggleSelectHunk:                    `Переключить выборку частей`, | ||||
| 		ToggleSelectionForPatch:             `Добавить/удалить строку(и) для патча`, | ||||
| 		EditHunk:                            `Изменить эту часть`, | ||||
| 		ToggleStagingPanel:                  `Переключиться на другую панель (проиндексированные/непроиндексированные изменения)`, | ||||
| 		ToggleStagingView:                   `Переключиться на другую панель (проиндексированные/непроиндексированные изменения)`, | ||||
| 		ReturnToFilesPanel:                  `Вернуться к панели файлов`, | ||||
| 		FastForward:                         `Перемотать эту ветку вперёд из её upstream-ветки`, | ||||
| 		FastForwarding:                      "Получить изменения и перемотать вперёд", | ||||
| @@ -258,8 +256,8 @@ func RussianTranslationSet() TranslationSet { | ||||
| 		SelectNextHunk:                      "Выбрать следующую часть", | ||||
| 		ScrollDown:                          "Прокрутить вниз", | ||||
| 		ScrollUp:                            "Прокрутить вверх", | ||||
| 		ScrollUpMainPanel:                   "Прокрутить вверх главную панель", | ||||
| 		ScrollDownMainPanel:                 "Прокрутить вниз главную панель", | ||||
| 		ScrollUpMainWindow:                  "Прокрутить вверх главную панель", | ||||
| 		ScrollDownMainWindow:                "Прокрутить вниз главную панель", | ||||
| 		AmendCommitTitle:                    "Править коммит (amend)", | ||||
| 		AmendCommitPrompt:                   "Вы уверены, что хотите править этот коммит проиндексированными файлами?", | ||||
| 		DropCommitTitle:                     "Удалить коммит", | ||||
| @@ -287,9 +285,9 @@ func RussianTranslationSet() TranslationSet { | ||||
| 		RemoteBranchesDynamicTitle:          "Удалённые ветки (%s)", | ||||
| 		ViewItemFiles:                       "Просмотреть файлы выбранного элемента", | ||||
| 		CommitFilesTitle:                    "Сохранить Изменения Файлов", | ||||
| 		CheckoutCommitFile:                  "Переключить файл", | ||||
| 		CheckoutCommitFileTooltip:           "Переключить файл", | ||||
| 		CanOnlyDiscardFromLocalCommits:      "Изменения можно отменить только из локальных коммитов.", | ||||
| 		DiscardOldFileChange:                "Отменить изменения коммита в этом файле", | ||||
| 		DiscardOldFileChangeTooltip:         "Отменить изменения коммита в этом файле", | ||||
| 		DiscardFileChangesTitle:             "Отменить изменения файла", | ||||
| 		DiscardFileChangesPrompt:            "Вы уверены, что хотите отменить изменения коммита в этом файле? Если файл был создан в этом коммите, он будет удалён", | ||||
| 		DiscardAddedFileChangesPrompt:       "Вы уверены, что хотите отменить изменения, внесённые в этот файл коммитом? Файл был добавлен в этот коммит, поэтому он снова будет удален.", | ||||
| @@ -304,7 +302,7 @@ func RussianTranslationSet() TranslationSet { | ||||
| 		AutoStashTitle:                      "Автосохранить изменения?", | ||||
| 		AutoStashPrompt:                     "Чтобы перенести изменения, их нужно сохранить и вынуть. Сделать это автоматически? (enter/esc)", | ||||
| 		StashPrefix:                         "Автосохранение изменений для", | ||||
| 		ViewDiscardOptions:                  "Просмотреть параметры «отмены изменении»", | ||||
| 		Discard:                             "Просмотреть параметры «отмены изменении»", | ||||
| 		Cancel:                              "Отменить", | ||||
| 		DiscardAllChanges:                   "Отменить все изменения", | ||||
| 		DiscardUnstagedChanges:              "Отменить непроиндексированные изменения", | ||||
| @@ -314,8 +312,8 @@ func RussianTranslationSet() TranslationSet { | ||||
| 		DiscardStagedChanges:                "Отменить проиндексированные изменения", | ||||
| 		HardReset:                           "Жёсткий сброс", | ||||
| 		ViewResetOptions:                    `Просмотреть параметры сброса`, | ||||
| 		CreateFixupCommitDescription:        `Создать fixup коммит для этого коммита`, | ||||
| 		SquashAboveCommits:                  `Объединить все 'fixup!' коммиты выше в выбранный коммит (автосохранение)`, | ||||
| 		CreateFixupCommitTooltip:            `Создать fixup коммит для этого коммита`, | ||||
| 		SquashAboveCommitsTooltip:           `Объединить все 'fixup!' коммиты выше в выбранный коммит (автосохранение)`, | ||||
| 		SureSquashAboveCommits:              `Вы уверены, что хотите объединить все fixup! коммиты выше {{.commit}}?`, | ||||
| 		CreateFixupCommit:                   `Создать fixup коммит`, | ||||
| 		SureCreateFixupCommit:               `Вы уверены, что хотите создать fixup! коммит для коммита {{.commit}}?`, | ||||
| @@ -346,12 +344,12 @@ func RussianTranslationSet() TranslationSet { | ||||
| 		ViewPatchOptions:                    "Просмотреть пользовательские параметры патча", | ||||
| 		PatchOptionsTitle:                   "Параметры патча", | ||||
| 		NoPatchError:                        "Патч ещё не создан. Чтобы начать сборку патча, используйте «пробел» в файле коммита или введите, чтобы добавить определённые строки.", | ||||
| 		EnterFile:                           "Введите файл, чтобы добавить выбранные строки в патч (или свернуть каталог переключения)", | ||||
| 		EnterCommitFile:                     "Введите файл, чтобы добавить выбранные строки в патч (или свернуть каталог переключения)", | ||||
| 		ExitCustomPatchBuilder:              `Выйти из сборщика пользовательских патчей`, | ||||
| 		EnterUpstream:                       `Введите upstream как '<remote> <branchname>'`, | ||||
| 		InvalidUpstream:                     "Недействительный upstream. Должен быть в формате '<remote> <branchname>'", | ||||
| 		ReturnToRemotesList:                 `Вернуться к списку удалённых репозитории`, | ||||
| 		AddNewRemote:                        `Добавить новую удалённую ветку`, | ||||
| 		NewRemote:                           `Добавить новую удалённую ветку`, | ||||
| 		NewRemoteName:                       `Название новой удалённой ветки`, | ||||
| 		NewRemoteUrl:                        `Ссылка новой удалённой ветки`, | ||||
| 		EditRemoteName:                      `Введите новое название для удалённое ветки {{.remoteName}}:`, | ||||
| @@ -360,12 +358,12 @@ func RussianTranslationSet() TranslationSet { | ||||
| 		RemoveRemotePrompt:                  "Вы уверены, что хотите удалить удалённую ветку?", | ||||
| 		DeleteRemoteBranch:                  "Удалить Удалённую Ветку", | ||||
| 		DeleteRemoteBranchMessage:           "Вы уверены, что хотите удалить удалённую ветку", | ||||
| 		SetAsUpstream:                       "Установить как upstream-ветку переключённую ветку", | ||||
| 		SetAsUpstreamTooltip:                "Установить как upstream-ветку переключённую ветку", | ||||
| 		SetUpstream:                         "Установить upstream-ветку из выбранной ветки", | ||||
| 		UnsetUpstream:                       "Убрать upstream-ветку из выбранной ветки", | ||||
| 		SetUpstreamTitle:                    "Установить upstream-ветку", | ||||
| 		SetUpstreamMessage:                  "Вы уверены, что хотите установить upstream-ветвь '{{.checkedOut}}' на '{{.selected}}'", | ||||
| 		EditRemote:                          "Редактировать удалённый репозитории", | ||||
| 		EditRemoteTooltip:                   "Редактировать удалённый репозитории", | ||||
| 		TagCommit:                           "Пометить коммит тегом", | ||||
| 		TagMenuTitle:                        "Создать тег", | ||||
| 		TagNameTitle:                        "Название тега", | ||||
| @@ -375,8 +373,9 @@ func RussianTranslationSet() TranslationSet { | ||||
| 		DeleteTagTitle:                      "Удалить тег", | ||||
| 		PushTagTitle:                        "Удалённый репозитории для отправки тега '{{.tagName}}' в:", | ||||
| 		PushTag:                             "Отправить тег", | ||||
| 		CreateTag:                           "Создать тег", | ||||
| 		FetchRemote:                         "Получение изменения из удалённого репозитория", | ||||
| 		NewTag:                              "Создать тег", | ||||
| 		FetchRemoteTooltip:                  "Получение изменения из удалённого репозитория", | ||||
| 		FetchingRemoteStatus:                "Получение статуса удалённого репозитория", | ||||
| 		CheckoutCommit:                      "Переключить коммит", | ||||
| 		SureCheckoutThisCommit:              "Вы уверены, что хотите переключить коммит?", | ||||
| 		GitFlowOptions:                      "Показать параметры git-flow", | ||||
| @@ -395,7 +394,7 @@ func RussianTranslationSet() TranslationSet { | ||||
| 		RenameBranch:                        "Переименовать ветку", | ||||
| 		NewBranchNamePrompt:                 "Введите новое название ветки", | ||||
| 		RenameBranchWarning:                 "Эта ветвь отслеживает удалённый репозитории. Это действие переименует только имя локальной ветки, а не имя удалённой ветки. Продолжать?", | ||||
| 		OpenMenu:                            "Открыть меню", | ||||
| 		OpenKeybindingsMenu:                 "Открыть меню", | ||||
| 		ResetCherryPick:                     "Сбросить отобранную (скопированную | cherry-picked) выборку коммитов", | ||||
| 		NextTab:                             "Следующая вкладка", | ||||
| 		PrevTab:                             "Предыдущая вкладка", | ||||
| @@ -424,9 +423,9 @@ func RussianTranslationSet() TranslationSet { | ||||
| 		ExitDiffMode:                        "Выйти из режима сравнения", | ||||
| 		DiffingMenuTitle:                    "Сравнение", | ||||
| 		SwapDiff:                            "Обратное направление сравнении", | ||||
| 		OpenDiffingMenu:                     "Открыть меню сравнении", | ||||
| 		ViewDiffingOptions:                  "Открыть меню сравнении", | ||||
| 		// the actual view is the extras view which I intend to give more tabs in future but for now we'll only mention the command log part | ||||
| 		OpenExtrasMenu:                      "Открыть меню журнала команд", | ||||
| 		OpenCommandLogMenu:                  "Открыть меню журнала команд", | ||||
| 		ShowingGitDiff:                      "Показывает вывод для:", | ||||
| 		CommitDiff:                          "Разница коммита", | ||||
| 		CopyCommitShaToClipboard:            "Скопировать SHA коммита в буфер обмена", | ||||
| @@ -438,9 +437,8 @@ func RussianTranslationSet() TranslationSet { | ||||
| 		CommitAuthor:                        "Автор коммита", | ||||
| 		CopyCommitAttributeToClipboard:      "Скопировать атрибут коммита", | ||||
| 		CopyBranchNameToClipboard:           "Скопировать название ветки в буфер обмена", | ||||
| 		CopyFileNameToClipboard:             "Скопировать название файла в буфер обмена", | ||||
| 		CopyCommitFileNameToClipboard:       "Скопировать закомиченное имя файла в буфер обмена", | ||||
| 		CopySelectedTexToClipboard:          "Скопировать выделенный текст в буфер обмена", | ||||
| 		CopyPathToClipboard:                 "Скопировать название файла в буфер обмена", | ||||
| 		CopySelectedTextToClipboard:         "Скопировать выделенный текст в буфер обмена", | ||||
| 		CommitPrefixPatternError:            "Ошибка в шаблоне commitPrefix", | ||||
| 		NoFilesStagedTitle:                  "Нет проиндексированных файлов", | ||||
| 		NoFilesStagedPrompt:                 "Нет проиндексированых файлов. Закоммитить все файлы?", | ||||
| @@ -456,7 +454,7 @@ func RussianTranslationSet() TranslationSet { | ||||
| 		RunningCustomCommandStatus:          "Запуск пользовательской команды", | ||||
| 		SubmoduleStashAndReset:              "Спрятать непроиндексированные изменения подмодуля и обновить", | ||||
| 		AndResetSubmodules:                  "И сбросить подмодули", | ||||
| 		EnterSubmodule:                      "Ввести подмодуль", | ||||
| 		EnterSubmoduleTooltip:               "Ввести подмодуль", | ||||
| 		CopySubmoduleNameToClipboard:        "Скопировать название подмодуля в буфер обмена", | ||||
| 		RemoveSubmodule:                     "Удалить подмодуль", | ||||
| 		RemoveSubmodulePrompt:               "Вы уверены, что хотите удалить подмодуль '%s' и соответствующий ему каталог? Это необратимо.", | ||||
| @@ -464,14 +462,14 @@ func RussianTranslationSet() TranslationSet { | ||||
| 		NewSubmoduleName:                    "Названия нового подмодуля:", | ||||
| 		NewSubmoduleUrl:                     "URL нового подмодуля:", | ||||
| 		NewSubmodulePath:                    "Путь нового подмодуля:", | ||||
| 		AddSubmodule:                        "Добавить новый подмодуль", | ||||
| 		NewSubmodule:                        "Добавить новый подмодуль", | ||||
| 		AddingSubmoduleStatus:               "Добавление подмодуля", | ||||
| 		UpdateSubmoduleUrl:                  "Обновить URL подмодуля '%s'", | ||||
| 		UpdatingSubmoduleUrlStatus:          "Обновление URL", | ||||
| 		EditSubmoduleUrl:                    "Обновить URL подмодуля", | ||||
| 		InitializingSubmoduleStatus:         "Инициализация подмодуля", | ||||
| 		InitSubmodule:                       "Инициализировать подмодуль", | ||||
| 		SubmoduleUpdate:                     "Обновить подмодуль", | ||||
| 		InitSubmoduleTooltip:                "Инициализировать подмодуль", | ||||
| 		SubmoduleUpdateTooltip:              "Обновить подмодуль", | ||||
| 		UpdatingSubmoduleStatus:             "Обновление подмодуля", | ||||
| 		BulkInitSubmodules:                  "Массовая инициализация подмодулей", | ||||
| 		BulkUpdateSubmodules:                "Массовое обновление подмодулей", | ||||
|   | ||||
| @@ -90,7 +90,7 @@ func traditionalChineseTranslationSet() TranslationSet { | ||||
| 		CredentialsPassphrase:               "輸入 SSH 金鑰的密碼", | ||||
| 		CredentialsPIN:                      "輸入 SSH 金鑰的 PIN 碼", | ||||
| 		PassUnameWrong:                      "密碼、密語或使用者名稱錯誤", | ||||
| 		CommitChanges:                       "提交變更", | ||||
| 		Commit:                              "提交變更", | ||||
| 		AmendLastCommit:                     "修正上次提交", | ||||
| 		AmendLastCommitTitle:                "修正上次提交", | ||||
| 		SureToAmend:                         "是否確定要修正上次提交?之後你可以從提交面板中再次更改此次提交的訊息。", | ||||
| @@ -99,7 +99,7 @@ func traditionalChineseTranslationSet() TranslationSet { | ||||
| 		StatusTitle:                         "狀態", | ||||
| 		Menu:                                "功能表", | ||||
| 		Execute:                             "執行", | ||||
| 		ToggleStaged:                        "切換預存", | ||||
| 		Stage:                               "切換預存", | ||||
| 		ToggleStagedAll:                     "全部預存/取消預存", | ||||
| 		ToggleTreeView:                      "切換檔案樹狀視圖", | ||||
| 		OpenMergeTool:                       "開啟外部合併工具 (git mergetool)", | ||||
| @@ -134,8 +134,6 @@ func traditionalChineseTranslationSet() TranslationSet { | ||||
| 		CloseCancel:                         "關閉/取消", | ||||
| 		Confirm:                             "確認", | ||||
| 		Quit:                                "結束", | ||||
| 		SquashDown:                          "向下壓縮", | ||||
| 		FixupCommit:                         "修復提交 (Fixup)", | ||||
| 		NoCommitsThisBranch:                 "這個分支沒有提交", | ||||
| 		UpdateRefHere:                       "在這裡更新 '{{.ref}}' 分支", | ||||
| 		CannotSquashOrFixupFirstCommit:      "沒有可以壓縮的提交", | ||||
| @@ -143,20 +141,20 @@ func traditionalChineseTranslationSet() TranslationSet { | ||||
| 		SureFixupThisCommit:                 "你確定要對這個提交進行 '修復' 嗎? 它將被合併到下面的提交中", | ||||
| 		SureSquashThisCommit:                "你確定要把這個提交壓縮到下面的提交中嗎?", | ||||
| 		Squash:                              "壓縮 (Squash)", | ||||
| 		PickCommit:                          "挑選提交 (於變基過程中)", | ||||
| 		PickCommitTooltip:                   "挑選提交 (於變基過程中)", | ||||
| 		RevertCommit:                        "還原提交", | ||||
| 		RewordCommit:                        "改寫提交", | ||||
| 		DeleteCommit:                        "刪除提交", | ||||
| 		Reword:                              "改寫提交", | ||||
| 		DropCommit:                          "刪除提交", | ||||
| 		MoveDownCommit:                      "向下移動提交", | ||||
| 		MoveUpCommit:                        "向上移動提交", | ||||
| 		EditCommit:                          "編輯提交", | ||||
| 		AmendToCommit:                       "使用已預存的更改修正提交", | ||||
| 		EditCommitTooltip:                   "編輯提交", | ||||
| 		AmendCommitTooltip:                  "使用已預存的更改修正提交", | ||||
| 		ResetAuthor:                         "重設作者", | ||||
| 		SetAuthor:                           "設置作者", | ||||
| 		SetResetCommitAuthor:                "設置/重設提交作者", | ||||
| 		AmendCommitAttribute:                "設置/重設提交作者", | ||||
| 		SetAuthorPromptTitle:                "設置作者 (格式如 '姓名 <電子郵件>')", | ||||
| 		SureResetCommitAuthor:               "此提交的作者欄位將被更新以符合已配置的使用者。它也會更新作者的時間戳。繼續嗎?", | ||||
| 		RenameCommitEditor:                  "使用編輯器改寫提交", | ||||
| 		RewordCommitEditor:                  "使用編輯器改寫提交", | ||||
| 		Error:                               "錯誤", | ||||
| 		PickHunk:                            "挑選程式碼片段", | ||||
| 		PickAllHunks:                        "挑選所有程式碼片段", | ||||
| @@ -212,7 +210,7 @@ func traditionalChineseTranslationSet() TranslationSet { | ||||
| 		IgnoreFile:                          `添加到 .gitignore`, | ||||
| 		ExcludeFile:                         `添加到 .git/info/exclude`, | ||||
| 		RefreshFiles:                        `重新整理檔案`, | ||||
| 		MergeIntoCurrentBranch:              `合併到當前檢出的分支`, | ||||
| 		Merge:                               `合併到當前檢出的分支`, | ||||
| 		ConfirmQuit:                         `你確定要結束嗎?`, | ||||
| 		SwitchRepo:                          `切換到最近使用的版本庫`, | ||||
| 		AllBranchesLogGraph:                 `顯示所有分支日誌`, | ||||
| @@ -225,13 +223,13 @@ func traditionalChineseTranslationSet() TranslationSet { | ||||
| 		NoAutomaticGitFetchBody:             `lazygit 無法在私有庫使用 "git 擷取";在檔案面板中使用 'f' 手動執行 "git 擷取"`, | ||||
| 		FileEnter:                           `選擇檔案中的單個程式碼塊/行,或展開/折疊目錄`, | ||||
| 		FileStagingRequirements:             `只能選擇跟踪檔案中的單個行`, | ||||
| 		StageSelection:                      `切換現有行的狀態 (已預存/未預存)`, | ||||
| 		StageSelectionTooltip:               `切換現有行的狀態 (已預存/未預存)`, | ||||
| 		DiscardSelection:                    `刪除變更 (git reset)`, | ||||
| 		ToggleRangeSelect:                   `切換拖曳選擇`, | ||||
| 		ToggleSelectHunk:                    `切換選擇程式碼塊`, | ||||
| 		ToggleSelectionForPatch:             `向 (或從) 補丁中添加/刪除行`, | ||||
| 		EditHunk:                            `編輯程式碼塊`, | ||||
| 		ToggleStagingPanel:                  `切換至另一個面板 (已預存/未預存更改)`, | ||||
| 		ToggleStagingView:                   `切換至另一個面板 (已預存/未預存更改)`, | ||||
| 		ReturnToFilesPanel:                  `返回檔案面板`, | ||||
| 		FastForward:                         `從上游快進此分支`, | ||||
| 		FastForwarding:                      "的擷取和快進中", | ||||
| @@ -289,8 +287,8 @@ func traditionalChineseTranslationSet() TranslationSet { | ||||
| 		SelectNextHunk:                      "選擇下一段", | ||||
| 		ScrollDown:                          "向下捲動", | ||||
| 		ScrollUp:                            "向上捲動", | ||||
| 		ScrollUpMainPanel:                   "向上捲動主面板", | ||||
| 		ScrollDownMainPanel:                 "向下捲動主面板", | ||||
| 		ScrollUpMainWindow:                  "向上捲動主面板", | ||||
| 		ScrollDownMainWindow:                "向下捲動主面板", | ||||
| 		AmendCommitTitle:                    "修正提交", | ||||
| 		AmendCommitPrompt:                   "你確定要使用預存的檔案修正此提交嗎?", | ||||
| 		DropCommitTitle:                     "刪除提交", | ||||
| @@ -318,8 +316,8 @@ func traditionalChineseTranslationSet() TranslationSet { | ||||
| 		RemoteBranchesDynamicTitle:          "遠端分支 (共 %s項)", | ||||
| 		ViewItemFiles:                       "檢視所選項目的檔案", | ||||
| 		CommitFilesTitle:                    "提交檔案", | ||||
| 		CheckoutCommitFile:                  "檢出檔案", | ||||
| 		DiscardOldFileChange:                "捨棄此提交對此檔案的更改", | ||||
| 		CheckoutCommitFileTooltip:           "檢出檔案", | ||||
| 		DiscardOldFileChangeTooltip:         "捨棄此提交對此檔案的更改", | ||||
| 		DiscardFileChangesTitle:             "捨棄檔案更改", | ||||
| 		DiscardFileChangesPrompt:            "你確定要捨棄此提交對此檔案的更改嗎?如果這個檔案是在此提交中創建的,它將被刪除", | ||||
| 		DisabledForGPG:                      "此功能不適用於使用GPG的使用者", | ||||
| @@ -331,7 +329,7 @@ func traditionalChineseTranslationSet() TranslationSet { | ||||
| 		AutoStashTitle:                      "自動儲存?", | ||||
| 		AutoStashPrompt:                     "你必須儲存和彈出你的更改才能帶它們到其他地方。是否自動執行此操作?(enter/esc)", | ||||
| 		StashPrefix:                         "正在自動儲存更改:", | ||||
| 		ViewDiscardOptions:                  "檢視“捨棄更改”的選項", | ||||
| 		Discard:                             "檢視“捨棄更改”的選項", | ||||
| 		Cancel:                              "取消", | ||||
| 		DiscardAllChanges:                   "捨棄所有更改", | ||||
| 		DiscardUnstagedChanges:              "捨棄未預存的更改", | ||||
| @@ -341,8 +339,8 @@ func traditionalChineseTranslationSet() TranslationSet { | ||||
| 		DiscardStagedChanges:                "捨棄已預存的更改", | ||||
| 		HardReset:                           "硬重設", | ||||
| 		ViewResetOptions:                    "檢視重設選項", | ||||
| 		CreateFixupCommitDescription:        "為此提交建立修復提交", | ||||
| 		SquashAboveCommits:                  "壓縮上方所有的“fixup!”提交 (自動壓縮)", | ||||
| 		CreateFixupCommitTooltip:            "為此提交建立修復提交", | ||||
| 		SquashAboveCommitsTooltip:           "壓縮上方所有的“fixup!”提交 (自動壓縮)", | ||||
| 		SureSquashAboveCommits:              "你確定要壓縮{{.commit}}上方所有的fixup!提交嗎?", | ||||
| 		CreateFixupCommit:                   "建立修復提交", | ||||
| 		SureCreateFixupCommit:               "你確定要為提交{{.commit}}建立fixup!提交嗎?", | ||||
| @@ -373,12 +371,12 @@ func traditionalChineseTranslationSet() TranslationSet { | ||||
| 		ViewPatchOptions:                    "檢視自訂補丁選項", | ||||
| 		PatchOptionsTitle:                   "補丁選項", | ||||
| 		NoPatchError:                        "尚未建立補丁。要開始建立補丁,請在提交檔案上使用空格或輸入以添加特定行", | ||||
| 		EnterFile:                           "輸入檔案以將選定的行添加至補丁(或切換目錄折疊)", | ||||
| 		EnterCommitFile:                     "輸入檔案以將選定的行添加至補丁(或切換目錄折疊)", | ||||
| 		ExitCustomPatchBuilder:              `退出自訂補丁建立器`, | ||||
| 		EnterUpstream:                       `輸入上游為 '<remote> <branchname>'`, | ||||
| 		InvalidUpstream:                     "無效的上游。必須符合 '<remote> <branchname>' 的格式", | ||||
| 		ReturnToRemotesList:                 `返回遠端列表`, | ||||
| 		AddNewRemote:                        `新增遠端`, | ||||
| 		NewRemote:                           `新增遠端`, | ||||
| 		NewRemoteName:                       `新遠端名稱:`, | ||||
| 		NewRemoteUrl:                        `新遠端 URL:`, | ||||
| 		EditRemoteName:                      `輸入更新 {{.remoteName}} 遠端名稱:`, | ||||
| @@ -387,12 +385,12 @@ func traditionalChineseTranslationSet() TranslationSet { | ||||
| 		RemoveRemotePrompt:                  "你確定要移除遠端嗎?", | ||||
| 		DeleteRemoteBranch:                  "刪除遠端分支", | ||||
| 		DeleteRemoteBranchMessage:           "你確定要刪除遠端分支嗎?", | ||||
| 		SetAsUpstream:                       "將此分支設為當前分支之上游", | ||||
| 		SetAsUpstreamTooltip:                "將此分支設為當前分支之上游", | ||||
| 		SetUpstream:                         "設定所選分支之上游", | ||||
| 		UnsetUpstream:                       "取消設定選定分支之上游", | ||||
| 		SetUpstreamTitle:                    "設定上游分支", | ||||
| 		SetUpstreamMessage:                  "你確定要將 '{{. selected}}' 設為 '{{.checkedOut}}' 的上游分支嗎?", | ||||
| 		EditRemote:                          "編輯遠端", | ||||
| 		EditRemoteTooltip:                   "編輯遠端", | ||||
| 		TagCommit:                           "打標籤到提交", | ||||
| 		TagMenuTitle:                        "建立標籤", | ||||
| 		TagNameTitle:                        "標籤名稱", | ||||
| @@ -401,8 +399,9 @@ func traditionalChineseTranslationSet() TranslationSet { | ||||
| 		LightweightTag:                      "輕量標籤", | ||||
| 		PushTagTitle:                        "推送標籤 '{{.tagName}}' 至遠端:", | ||||
| 		PushTag:                             "推送標籤", | ||||
| 		CreateTag:                           "建立標籤", | ||||
| 		FetchRemote:                         "擷取遠端", | ||||
| 		NewTag:                              "建立標籤", | ||||
| 		FetchRemoteTooltip:                  "擷取遠端", | ||||
| 		FetchingRemoteStatus:                "正在擷取遠端", | ||||
| 		CheckoutCommit:                      "檢出提交", | ||||
| 		SureCheckoutThisCommit:              "你確定要檢出這個提交嗎?", | ||||
| 		GitFlowOptions:                      "顯示 git-flow 選項", | ||||
| @@ -421,7 +420,7 @@ func traditionalChineseTranslationSet() TranslationSet { | ||||
| 		RenameBranch:                        "重新命名分支", | ||||
| 		NewBranchNamePrompt:                 "為分支輸入新名稱", | ||||
| 		RenameBranchWarning:                 "此分支正在追蹤遠端分支。此操作僅會重新命名本地分支名稱,而不是遠端分支的名稱。是否繼續?", | ||||
| 		OpenMenu:                            "開啟選單", | ||||
| 		OpenKeybindingsMenu:                 "開啟選單", | ||||
| 		ResetCherryPick:                     "重設選定的揀選 (複製) 提交", | ||||
| 		NextTab:                             "下一個索引標籤", | ||||
| 		PrevTab:                             "上一個索引標籤", | ||||
| @@ -450,9 +449,9 @@ func traditionalChineseTranslationSet() TranslationSet { | ||||
| 		ExitDiffMode:                        "退出差異模式", | ||||
| 		DiffingMenuTitle:                    "差異比較", | ||||
| 		SwapDiff:                            "反轉差異方向", | ||||
| 		OpenDiffingMenu:                     "開啟差異比較選單", | ||||
| 		ViewDiffingOptions:                  "開啟差異比較選單", | ||||
| 		// the actual view is the extras view which I intend to give more tabs in future but for now we'll only mention the command log part | ||||
| 		OpenExtrasMenu:                      "開啟命令記錄選單", | ||||
| 		OpenCommandLogMenu:                  "開啟命令記錄選單", | ||||
| 		ShowingGitDiff:                      "顯示輸出:", | ||||
| 		CommitDiff:                          "提交差異", | ||||
| 		CopyCommitShaToClipboard:            "複製提交 SHA 到剪貼簿", | ||||
| @@ -463,9 +462,8 @@ func traditionalChineseTranslationSet() TranslationSet { | ||||
| 		CommitAuthor:                        "提交者", | ||||
| 		CopyCommitAttributeToClipboard:      "複製提交屬性", | ||||
| 		CopyBranchNameToClipboard:           "複製分支名稱到剪貼簿", | ||||
| 		CopyFileNameToClipboard:             "複製檔案名稱到剪貼簿", | ||||
| 		CopyCommitFileNameToClipboard:       "複製提交的檔案名稱到剪貼簿", | ||||
| 		CopySelectedTexToClipboard:          "複製所選文本至剪貼簿", | ||||
| 		CopyPathToClipboard:                 "複製檔案名稱到剪貼簿", | ||||
| 		CopySelectedTextToClipboard:         "複製所選文本至剪貼簿", | ||||
| 		CommitPrefixPatternError:            "commitPrefix 模式錯誤", | ||||
| 		NoFilesStagedTitle:                  "沒有檔案預存", | ||||
| 		NoFilesStagedPrompt:                 "你沒有預存任何檔案。提交所有檔案嗎?", | ||||
| @@ -481,7 +479,7 @@ func traditionalChineseTranslationSet() TranslationSet { | ||||
| 		RunningCustomCommandStatus:          "正在執行自訂命令", | ||||
| 		SubmoduleStashAndReset:              "收藏未提交的子模組變更並更新", | ||||
| 		AndResetSubmodules:                  "以及重設子模組", | ||||
| 		EnterSubmodule:                      "進入子模組", | ||||
| 		EnterSubmoduleTooltip:               "進入子模組", | ||||
| 		CopySubmoduleNameToClipboard:        "複製子模組名稱到剪貼簿", | ||||
| 		RemoveSubmodule:                     "移除子模組", | ||||
| 		RemoveSubmodulePrompt:               "是否確定要刪除子模組 '%s' 以及它相應的目錄?此操作是不可逆的。", | ||||
| @@ -489,14 +487,14 @@ func traditionalChineseTranslationSet() TranslationSet { | ||||
| 		NewSubmoduleName:                    "新子模組名稱:", | ||||
| 		NewSubmoduleUrl:                     "新子模組 URL:", | ||||
| 		NewSubmodulePath:                    "新子模組路徑:", | ||||
| 		AddSubmodule:                        "新增子模組", | ||||
| 		NewSubmodule:                        "新增子模組", | ||||
| 		AddingSubmoduleStatus:               "正在新增子模組", | ||||
| 		UpdateSubmoduleUrl:                  "更新子模組 '%s' 的 URL", | ||||
| 		UpdatingSubmoduleUrlStatus:          "正在更新 URL", | ||||
| 		EditSubmoduleUrl:                    "更新子模組 URL", | ||||
| 		InitializingSubmoduleStatus:         "正在初始化子模組", | ||||
| 		InitSubmodule:                       "初始化子模組", | ||||
| 		SubmoduleUpdate:                     "更新子模組", | ||||
| 		InitSubmoduleTooltip:                "初始化子模組", | ||||
| 		SubmoduleUpdateTooltip:              "更新子模組", | ||||
| 		UpdatingSubmoduleStatus:             "正在更新子模組", | ||||
| 		BulkInitSubmodules:                  "批量初始化子模組", | ||||
| 		BulkUpdateSubmodules:                "批量更新子模組", | ||||
|   | ||||
| @@ -23,19 +23,24 @@ var FilterMenu = NewIntegrationTest(NewIntegrationTestArgs{ | ||||
| 			Tap(func() { | ||||
| 				t.ExpectPopup().Menu(). | ||||
| 					Title(Equals("Keybindings")). | ||||
| 					Filter("Toggle staged"). | ||||
| 					Filter("Ignore"). | ||||
| 					Lines( | ||||
| 						// menu has filtered down to the one item that matches the filter | ||||
| 						Contains(`Toggle staged`).IsSelected(), | ||||
| 						Contains(`Ignore`).IsSelected(), | ||||
| 					). | ||||
| 					Confirm() | ||||
|  | ||||
| 				t.ExpectPopup().Menu(). | ||||
| 					Title(Equals("Ignore or exclude file")). | ||||
| 					Select(Contains("Add to .gitignore")). | ||||
| 					Confirm() | ||||
| 			}) | ||||
|  | ||||
| 		t.Views().Files(). | ||||
| 			IsFocused(). | ||||
| 			Lines( | ||||
| 				// file has been staged | ||||
| 				Contains(`A `).Contains(`myfile`).IsSelected(), | ||||
| 				// file has been ignored | ||||
| 				Contains(`.gitignore`).IsSelected(), | ||||
| 			). | ||||
| 			// Upon opening the menu again, the filter should have been reset | ||||
| 			Press(keys.Universal.OptionMenu). | ||||
|   | ||||
| @@ -17,10 +17,10 @@ var FilterMenuCancelFilterWithEscape = NewIntegrationTest(NewIntegrationTestArgs | ||||
|  | ||||
| 		t.ExpectPopup().Menu(). | ||||
| 			Title(Equals("Keybindings")). | ||||
| 			Filter("Toggle staged"). | ||||
| 			Filter("Ignore"). | ||||
| 			Lines( | ||||
| 				// menu has filtered down to the one item that matches the filter | ||||
| 				Contains(`Toggle staged`).IsSelected(), | ||||
| 				Contains(`Ignore`).IsSelected(), | ||||
| 			) | ||||
|  | ||||
| 		// Escape should cancel the filter, not close the menu | ||||
|   | ||||
| @@ -34,7 +34,7 @@ var SquashFixupsAboveFirstCommit = NewIntegrationTest(NewIntegrationTestArgs{ | ||||
| 			Press(keys.Commits.SquashAboveCommits). | ||||
| 			Tap(func() { | ||||
| 				t.ExpectPopup().Confirmation(). | ||||
| 					Title(Equals("Squash all 'fixup!' commits above selected commit (autosquash)")). | ||||
| 					Title(Equals("Apply fixup commits")). | ||||
| 					Content(Contains("Are you sure you want to squash all fixup! commits above")). | ||||
| 					Confirm() | ||||
| 			}). | ||||
|   | ||||
		Reference in New Issue
	
	Block a user