Update cheatsheets

This commit is contained in:
ivuorinen
2025-12-22 00:22:43 +00:00
parent 9017f8acda
commit 716a67f83d
236 changed files with 290 additions and 289 deletions

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> Create an archive of files from a tree.
> More information: <https://git-scm.com/docs/git-archive>.
- Create a tar archive from the contents of the current `HEAD` and print it to `stdout`:
- Create a `.tar` archive from the contents of the current `HEAD` and print it to `stdout`:
`git archive {{[-v|--verbose]}} HEAD`
@@ -20,7 +20,7 @@ source: https://github.com/tldr-pages/tldr.git
`git archive {{[-v|--verbose]}} {{[-o|--output]}} {{path/to/file.zip}} HEAD`
- Create a tar archive from the contents of the latest commit of a specific branch:
- Create a `.tar` archive from the contents of the latest commit of a specific branch:
`git archive {{[-o|--output]}} {{path/to/file.tar}} {{branch_name}}`