From 44ee72fbca980be3035fc89cb1de22752df2769f Mon Sep 17 00:00:00 2001 From: Sufien Tout Date: Sun, 3 Nov 2024 14:38:52 -0500 Subject: [PATCH] docs: update README to include worktree operations --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index c0f24ccc..1d6e70cd 100644 --- a/README.md +++ b/README.md @@ -131,6 +131,14 @@ Then add the following to your shell's config file: - **Interactive `git commit --fixup && git rebase -i --autosquash` selector** (`gfu`) +- **Interactive `git worktree list` selector** (`gwj`) + +- **Interactive `git worktree lock ` selector** (`gwl`) + +- **Interactive `git worktree remove ` selector** (`gwr`) + +- **Interactive `git worktree unlock ` selector** (`gwu`) + # ⌨ Keybindings | Key | Action | @@ -188,6 +196,10 @@ forgit_cherry_pick=gcp forgit_rebase=grb forgit_blame=gbl forgit_fixup=gfu +forgit_worktree_jump=gwj +forgit_worktree_lock=gwl +forgit_worktree_remove=gwr +forgit_worktree_unlock=gwu ``` ## git integration @@ -246,6 +258,8 @@ These are passed to the according `git` calls. | `gbl` | `FORGIT_BLAME_GIT_OPTS` | | `gfu` | `FORGIT_FIXUP_GIT_OPTS` | | `gcp` | `FORGIT_CHERRY_PICK_GIT_OPTS` | +| `gwl` | `FORGIT_WORKTREE_LOCK_GIT_OPTS` | +| `gwr` | `FORGIT_WORKTREE_REMOVE_GIT_OPTS` | ## pagers @@ -300,6 +314,10 @@ Customizing fzf options for each command individually is also supported: | `gbl` | `FORGIT_BLAME_FZF_OPTS` | | `gfu` | `FORGIT_FIXUP_FZF_OPTS` | | `gcp` | `FORGIT_CHERRY_PICK_FZF_OPTS` | +| `gwj` | `FORGIT_WORKTREE_JUMP_FZF_OPTS` | +| `gwl` | `FORGIT_WORKTREE_LOCK_FZF_OPTS` | +| `gwr` | `FORGIT_WORKTREE_REMOVE_FZF_OPTS` | +| `gwu` | `FORGIT_WORKTREE_UNLOCK_FZF_OPTS` | Complete loading order of fzf options is: