From bab9389d4fb06c5ecb1ce65d2f24cf1f0bbc4557 Mon Sep 17 00:00:00 2001 From: ivuorinen Date: Thu, 19 Dec 2024 00:18:26 +0000 Subject: [PATCH] Update cheatsheets --- tldr/cut | 2 +- tldr/date | 2 +- tldr/echo | 2 +- tldr/lazygit | 37 +++++++++++++++++++++++++++++++++++++ 4 files changed, 40 insertions(+), 3 deletions(-) create mode 100644 tldr/lazygit diff --git a/tldr/cut b/tldr/cut index 9eb38614..6f462acd 100644 --- a/tldr/cut +++ b/tldr/cut @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # cut > Cut out fields from `stdin` or files. -> More information: . +> More information: . - Print a specific [c]haracter/[f]ield range of each line: diff --git a/tldr/date b/tldr/date index d011226d..2b2212e9 100644 --- a/tldr/date +++ b/tldr/date @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # date > Set or display the system date. -> More information: . +> More information: . - Display the current date using the default locale's format: diff --git a/tldr/echo b/tldr/echo index 47734a03..a3d0b361 100644 --- a/tldr/echo +++ b/tldr/echo @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # echo > Print given arguments. -> More information: . +> More information: . - Print a text message. Note: quotes are optional: diff --git a/tldr/lazygit b/tldr/lazygit new file mode 100644 index 00000000..b146ada5 --- /dev/null +++ b/tldr/lazygit @@ -0,0 +1,37 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# lazygit + +> A simple terminal UI for Git commands, providing an intuitive interface for managing repositories. +> More information: . + +- Open Lazygit in the current repository: + +`lazygit` + +- Open Lazygit for a specific Git repository: + +`lazygit --path {{path/to/repository}}` + +- Start Lazygit with focus on a specific panel: + +`lazygit {{status|branch|log|stash|...}}` + +- Print the default Lazygit configuration: + +`lazygit --config` + +- Tail the Lazygit logs (useful with debug mode in another terminal): + +`lazygit --logs` + +- Run Lazygit in debug mode: + +`lazygit --debug` + +- Print the configuration directory: + +`lazygit --print-config-dir`