mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-05 07:44:10 +00:00
Update cheatsheets
This commit is contained in:
29
tldr/git-cliff
Normal file
29
tldr/git-cliff
Normal 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
13
tldr/linux/gtk-launch
Normal 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}}`
|
||||
@@ -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:
|
||||
|
||||
|
||||
@@ -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}}`
|
||||
|
||||
@@ -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/{
2
tldr/{
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user