Update cheatsheets

This commit is contained in:
ivuorinen
2025-02-01 00:18:33 +00:00
parent 2a6f4078bf
commit 6a2d6bb8c0
6 changed files with 50 additions and 3 deletions

29
tldr/git-cliff Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# git cliff
> A highly customizable changelog generator.
> More information: <https://git-cliff.org/docs/usage/args>.
- Generate a changelog from all commits in a Git repository and save it to `CHANGELOG.md`:
`git cliff > {{CHANGELOG.md}}`
- Generate a changelog from commits starting from the latest tag and print it to `stdout`:
`git cliff {{-l|--latest}}`
- Generate a changelog from commits that belong to the current tag (use `git checkout` on a tag before this):
`git cliff --current`
- Generate a changelog from commits that do not belong to a tag:
`git cliff {{-u|--unreleased}}`
- Write the default config file to `cliff.toml` in the current directory:
`git cliff {{-i|--init}}`

13
tldr/linux/gtk-launch Normal file
View File

@@ -0,0 +1,13 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# gtk-launch
> Launch applications from `.desktop` files that reside in standard locations.
> More information: <https://manned.org/gtk-launch>.
- Launch an application:
`gtk-launch {{Application_name}}`

View File

@@ -6,7 +6,8 @@ source: https://github.com/tldr-pages/tldr.git
# local
> Declare local variables and give them attributes.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#Bash-Builtins>.
> See also: `declare`.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-local>.
- Declare a string variable with the specified value:

View File

@@ -12,6 +12,10 @@ source: https://github.com/tldr-pages/tldr.git
`pulumi config --json`
- View configuration for a specified stack:
`pulumi config --stack {{stack_name}}`
- Get the value of a configuration key:
`pulumi config get {{key}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# read
> Shell builtin for retrieving data from `stdin`.
> More information: <https://manned.org/read.1p>.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-read>.
- Store data that you type from the keyboard:

2
tldr/{
View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# Curly brace
> Multipurpose shell syntax.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-hash>.
> More information: <https://www.gnu.org/software/bash/manual/bash.html>.
- Isolate variable names: