mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-05 00:44:04 +00:00
Update cheatsheets
This commit is contained in:
2
tldr/cut
2
tldr/cut
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# cut
|
||||
|
||||
> Cut out fields from `stdin` or files.
|
||||
> More information: <https://www.gnu.org/software/coreutils/cut>.
|
||||
> More information: <https://www.gnu.org/software/coreutils/manual/html_node/cut-invocation.html>.
|
||||
|
||||
- Print a specific [c]haracter/[f]ield range of each line:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# date
|
||||
|
||||
> Set or display the system date.
|
||||
> More information: <https://www.gnu.org/software/coreutils/date>.
|
||||
> More information: <https://www.gnu.org/software/coreutils/manual/html_node/date-invocation.html>.
|
||||
|
||||
- Display the current date using the default locale's format:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# echo
|
||||
|
||||
> Print given arguments.
|
||||
> More information: <https://www.gnu.org/software/coreutils/echo>.
|
||||
> More information: <https://www.gnu.org/software/coreutils/manual/html_node/echo-invocation.html>.
|
||||
|
||||
- Print a text message. Note: quotes are optional:
|
||||
|
||||
|
||||
37
tldr/lazygit
Normal file
37
tldr/lazygit
Normal file
@@ -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: <https://github.com/jesseduffield/lazygit>.
|
||||
|
||||
- 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`
|
||||
Reference in New Issue
Block a user