1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-15 00:15:32 +02:00
Commit Graph

104 Commits

Author SHA1 Message Date
7af371701d Use go:generate for generating cheatsheets
This has several benefits:
- it's less code
- we're using the same mechanism to generate all our auto-generated files, so if
  someone wants to add a new one, it's clear which pattern to follow
- we can re-generate all generated files with a single command
  ("go generate ./...", or "make generate")
- we only need a single check on CI to check that all files are up to date (see
  previous commit)
2023-09-29 20:38:29 +02:00
47d422bb8a chore: rename "Set/Unset upstream" menu to "Upstream Options"
This should already have been done when adding the "View divergence from
upstream" command, but now we're going to add yet another item to the menu that
is unrelated to setting or unsetting the upstream.
2023-09-06 00:23:35 +02:00
0df5cb1286 Allow deleting remote tags/branches from local tag/branch views (#2738) 2023-08-10 17:39:26 +10:00
66de981e91 Add a "Mark commit as base commit for rebase" command
This allows to do the equivalent of "git rebase --onto <target> <base>", by
first marking the <base> commit with the new command, and then selecting the
target branch and invoking the usual rebase command there.
2023-07-31 08:41:41 +02:00
e356b29b4a Allow entering a submodule by pressing space 2023-07-30 18:35:23 +10:00
18a508b29c Update cheatsheets 2023-07-30 18:35:23 +10:00
b625eb5323 Differentiate between different filter modes
We can filter by path, by file status, and by text.
2023-07-03 12:54:14 +10:00
db7b472f9a Update cheatsheets 2023-07-03 12:54:14 +10:00
5133113142 feat(i18n): add russian translation 2023-06-28 00:34:59 +06:00
ee03a0be41 Rename "Delete change" menu entry to "Discard change" in staging panel
For consistency with the previous commit.

Note that this menu entry is used both for unstaged and for staged changes, and
for staged changes it is not quite accurate, as we are not discarding changes in
that case (just unstaging them). Not sure it's worth fixing this; it's still
better than "Delete", anyway.
2023-06-26 08:19:58 +02:00
6754335b26 Add key bindings doc for Chinese 2023-05-30 20:30:30 +08:00
d772c9f1d4 Use sentence case everywhere
We have not been good at consistent casing so far. Now we use 'Sentence case' everywhere. EVERYWHERE.

Also Removing 'Lc' prefix from i18n field names: the 'Lc' stood for lowercase but now that everything
is in 'Sentence case' there's no need for the distinction.

I've got a couple lower case things I've kept: namely, things that show up in parentheses.
2023-05-25 23:52:19 +10:00
3eed997161 Update cheatsheet
Now that we're using the angle-bracket syntax everywhere for consistency, we need to escape
the angle brackets in the markdown of the cheatsheets.
2023-05-21 11:31:29 +10:00
7c66ca83c1 update cheatsheets 2023-05-11 19:02:25 +10:00
dd31f8ecea update cheatsheets 2023-04-30 13:19:53 +10:00
5c8bc790ff Make arrows consistent (#2501) 2023-03-18 11:32:44 +11:00
56424eb1aa remove x keybinding for opening menu so we now only use '?' 2023-02-20 19:28:45 +11:00
67b08ac239 feat: support to create tag on branch 2023-02-19 23:31:46 +09:00
8af59c3e6e Copy remote branch name to clipboard 2023-02-09 11:56:12 +01:00
stk
d838965a41 Make "Toggle whitespace in diff view" a global key binding
Since it is going to affect a number of views later in the branch, it's easier
to make it global than to find all views that are affected.
2023-02-07 09:25:38 +01:00
d0499286e2 keybindings cheatsheet for commit in unstaged/staged 2022-12-01 09:12:18 +11:00
11316b7a48 feat: add rename stash 2022-10-16 09:12:42 +09:00
0ff5b74d80 IgnoreOrExclude should be a menu 2022-08-11 14:23:02 +02:00
9578329cd9 update cheatsheet 2022-08-07 11:20:25 +10:00
524bf83a4a refactor to only have one context per view 2022-08-06 13:49:11 +10:00
11d766053e Allow adding a file to the .git/info/exclude file 2022-07-05 19:33:44 +10:00
d2a873cb40 improve korean translation 2022-06-07 23:36:24 +09:00
d533427173 Korean translation 2022-06-07 23:31:56 +09:00
5275161a88 chore(i18n): localize panel titles 2022-05-18 20:55:42 +09:00
25b213b992 fix cheatsheet 2022-05-08 13:31:13 +10:00
ec4b5ca134 Update cheatsheets. 2022-05-08 13:29:57 +10:00
b07e0ea032 fix: fix context of edit hunk 2022-05-06 21:58:40 +09:00
d458e78d95 feat: add ability to edit hunk 2022-05-06 21:53:00 +09:00
0940e0182b Merge pull request #1870 from mark2185/feature/stash-unstaged 2022-05-06 20:17:33 +10:00
f7fae0b82e Merge pull request #1869 from mark2185/feature/unset-upstream 2022-05-06 20:14:13 +10:00
cda359fbc9 feat(i18n): japanese translation 2022-05-05 18:42:27 +09:00
af5f4af6c0 docs: add alternative keybinding to scroll up/down main panel 2022-04-15 08:23:27 +10:00
f83308c8df Add option to (un)set upstream for a local branch 2022-04-11 14:04:06 +02:00
6f7038c827 Add option to stash only unstaged files 2022-04-10 09:35:59 +02:00
3b5a019e1a feat(merge_panel): Add open/edit files in merge conflict panel 2022-04-06 08:27:03 +10:00
48a244a923 update cheatsheets 2022-03-27 18:50:49 +11:00
0dfb7c08b7 remove controllers struct 2022-03-27 18:16:16 +11:00
51baa8c17d update cheatsheet 2022-03-26 18:00:46 +11:00
ad7703df65 show namesake for child views 2022-03-26 18:00:46 +11:00
13b90ac37f support viewing commits of reflog entry and show better view title 2022-03-26 18:00:46 +11:00
45dab51214 add basic commits controller for handling actions that apply to all commit contexts 2022-03-26 17:22:42 +11:00
540edb0bf4 Add copy commit attributes option 2022-03-26 17:22:42 +11:00
bbaa651943 Update chinese.go 2022-03-26 13:38:22 +11:00
340a145bc8 refactor cheatsheet generator 2022-03-24 20:14:41 +11:00
cc5d13c833 allow adding whole diff to patch
this was causing a panic

add integration test for toggling all commit files
2022-03-23 23:36:58 +11:00