Update cheatsheets

This commit is contained in:
ivuorinen
2025-12-31 00:22:26 +00:00
parent 175e6fa7c5
commit 30cc3ddcd1
148 changed files with 228 additions and 183 deletions

View File

@@ -10,12 +10,12 @@ source: https://github.com/tldr-pages/tldr.git
- List files contained in an APK archive:
`aapt list {{path/to/app.apk}}`
`aapt list {{path/to/app}}.apk`
- Display an app's metadata (version, permissions, etc.):
`aapt dump badging {{path/to/app.apk}}`
`aapt dump badging {{path/to/app}}.apk`
- Create a new APK archive with files from the specified directory:
`aapt package -F {{path/to/app.apk}} {{path/to/directory}}`
`aapt package -F {{path/to/app}}.apk {{path/to/directory}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# ack
> A search tool like `grep`, optimized for developers.
> See also: `rg`, which is much faster.
> See also: `rg`.
> More information: <https://beyondgrep.com/documentation/>.
- Search for files containing a string or `regex` in the current directory recursively:

View File

@@ -23,7 +23,7 @@ source: https://github.com/tldr-pages/tldr.git
- Push an Android application to an emulator/device:
`adb install -r {{path/to/file.apk}}`
`adb install -r {{path/to/file}}.apk`
- Copy a file/directory from the target device:

View File

@@ -10,24 +10,24 @@ source: https://github.com/tldr-pages/tldr.git
- Push an Android application to an emulator/device:
`adb install {{path/to/file.apk}}`
`adb install {{path/to/file}}.apk`
- Push an Android application to a specific emulator/device (overrides `$ANDROID_SERIAL`):
`adb -s {{serial_number}} install {{path/to/file.apk}}`
`adb -s {{serial_number}} install {{path/to/file}}.apk`
- [r]einstall an existing app, keeping its data:
`adb install -r {{path/to/file.apk}}`
`adb install -r {{path/to/file}}.apk`
- Push an Android application allowing version code [d]owngrade (debuggable packages only):
`adb install -d {{path/to/file.apk}}`
`adb install -d {{path/to/file}}.apk`
- [g]rant all permissions listed in the app manifest:
`adb install -g {{path/to/file.apk}}`
`adb install -g {{path/to/file}}.apk`
- Quickly update an installed package by only updating the parts of the APK that changed:
`adb install --fastdeploy {{path/to/file.apk}}`
`adb install --fastdeploy {{path/to/file}}.apk`

View File

@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
- Install an app package from a given path:
`adb shell pm install /{{path/to/app.apk}}`
`adb shell pm install /{{path/to/app}}.apk`
- Uninstall a package from the device:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# age
> A simple, modern, and secure file encryption tool.
> See also: `age-keygen` for generating key pairs.
> See also: `age-keygen`.
> More information: <https://github.com/FiloSottile/age#usage>.
- Generate an encrypted file that can be decrypted with a passphrase:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# age-keygen
> Generate `age` key pairs.
> See also: `age` for encrypting/decrypting files.
> See also: `age`.
> More information: <https://manned.org/age-keygen>.
- Generate a key pair, save it to an unencrypted file, and print the public key to `stdout`:

View File

@@ -10,12 +10,12 @@ source: https://github.com/tldr-pages/tldr.git
- Display Android app manifest:
`androguard axml {{path/to/app.apk}}`
`androguard axml {{path/to/app}}.apk`
- Display app metadata (version and app ID):
`androguard apkid {{path/to/app.apk}}`
`androguard apkid {{path/to/app}}.apk`
- Decompile Java code from an app:
`androguard decompile {{path/to/app.apk}} --output {{path/to/directory}}`
`androguard decompile {{path/to/app}}.apk --output {{path/to/directory}}`

View File

@@ -11,12 +11,12 @@ source: https://github.com/tldr-pages/tldr.git
- Scan an APK file for URIs, endpoints, and secrets:
`apkleaks {{[-f|--file]}} {{path/to/file.apk}}`
`apkleaks {{[-f|--file]}} {{path/to/file}}.apk`
- Scan and save the output to a specific file:
`apkleaks {{[-f|--file]}} {{path/to/file.apk}} {{[-o|--output]}} {{path/to/output.txt}}`
`apkleaks {{[-f|--file]}} {{path/to/file}}.apk {{[-o|--output]}} {{path/to/output.txt}}`
- Pass `jadx` disassembler arguments:
`apkleaks {{[-f|--file]}} {{path/to/file.apk}} {{[-a|--args]}} "{{--threads-count 5 --deobf}}"`
`apkleaks {{[-f|--file]}} {{path/to/file}}.apk {{[-a|--args]}} "{{--threads-count 5 --deobf}}"`

View File

@@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git
- Decode an APK file:
`apktool d {{path/to/file.apk}}`
`apktool d {{path/to/file}}.apk`
- Build an APK file from a directory:
@@ -18,4 +18,4 @@ source: https://github.com/tldr-pages/tldr.git
- Install and store a framework:
`apktool if {{path/to/framework.apk}}`
`apktool if {{path/to/framework}}.apk`

View File

@@ -19,7 +19,7 @@ source: https://github.com/tldr-pages/tldr.git
- Download multiple different files in parallel:
`aria2c {{[-Z|--force-sequential]}} {{false}} "{{url1 url2 ...}}"`
`aria2c {{[-Z|--force-sequential=true]}} {{"url1" "url2" ...}}`
- Download the same file from different mirrors and verify the checksum of the downloaded file:

View File

@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
- Calculate and save the list of BLAKE2 checksums to a file:
`b2sum {{path/to/file1 path/to/file2 ...}} > {{path/to/file.b2}}`
`b2sum {{path/to/file1 path/to/file2 ...}} > {{path/to/file}}.b2`
- Calculate a BLAKE2 checksum from `stdin`:
@@ -22,15 +22,15 @@ source: https://github.com/tldr-pages/tldr.git
- Read a file of BLAKE2 checksums and filenames and verify all files have matching checksums:
`b2sum {{[-c|--check]}} {{path/to/file.b2}}`
`b2sum {{[-c|--check]}} {{path/to/file}}.b2`
- Only show a message for missing files or when verification fails:
`b2sum {{[-c|--check]}} --quiet {{path/to/file.b2}}`
`b2sum {{[-c|--check]}} --quiet {{path/to/file}}.b2`
- Only show a message when verification fails, ignoring missing files:
`b2sum --ignore-missing {{[-c|--check]}} --quiet {{path/to/file.b2}}`
`b2sum --ignore-missing {{[-c|--check]}} --quiet {{path/to/file}}.b2`
- Check a known BLAKE2 checksum of a file:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# bash
> Bourne-Again SHell, an `sh`-compatible command-line interpreter.
> See also: `zsh`, `!` (history expansion).
> See also: `zsh`, `!`.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#Invoking-Bash>.
- Start an interactive shell session:

View File

@@ -19,7 +19,7 @@ source: https://github.com/tldr-pages/tldr.git
- Create a new file and a new directory:
`<n>file dir/`
`<n>{{file}} {{dir}}/`
- Search for PDF files in the current directory:
@@ -33,10 +33,10 @@ source: https://github.com/tldr-pages/tldr.git
`<r>sel`
- Display help:
`<?>`
- Exit CliFM:
`<q>`
- Display help:
`<?>`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# conda activate
> Activate a conda environment.
> See also: `conda deactivate` to deactivate a conda environment.
> See also: `conda deactivate`.
> More information: <https://docs.conda.io/projects/conda/en/stable/dev-guide/deep-dives/activation.html>.
- Activate an existing environment named `myenv`:

View File

@@ -28,6 +28,10 @@ source: https://github.com/tldr-pages/tldr.git
`{{command}} | cut {{[-d|--delimiter]}} " " {{[-f|--fields]}} -3`
- Do not print lines that do not contain the delimiter:
`{{command}} | cut {{[-d|--delimiter]}} "{{:}}" {{[-f|--fields]}} {{1}} {{[-s|--only-delimited]}}`
- Print specific fields of lines that use `NUL` to terminate lines instead of newlines:
`{{find . -print0}} | cut {{[-z|--zero-terminated]}} {{[-d|--delimiter]}} "{{/}}" {{[-f|--fields]}} {{2}}`

View File

@@ -10,16 +10,16 @@ source: https://github.com/tldr-pages/tldr.git
- Extract classes and methods from an APK file:
`dexdump {{path/to/file.apk}}`
`dexdump {{path/to/file}}.apk`
- Display header information of DEX files contained in an APK file:
`dexdump -f {{path/to/file.apk}}`
`dexdump -f {{path/to/file}}.apk`
- Display the dis-assembled output of executable sections:
`dexdump -d {{path/to/file.apk}}`
`dexdump -d {{path/to/file}}.apk`
- Output results to a file:
`dexdump -o {{path/to/file}} {{path/to/file.apk}}`
`dexdump -o {{path/to/file}} {{path/to/file}}.apk`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# disown
> Allow sub-processes to live beyond the shell that they are attached to.
> See also: `jobs` for finding job numbers.
> See also: `jobs`.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-disown>.
- Disown the current job:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# dmypy
> Type check Python code, running `mypy` as a daemon for better speed.
> See also: `mypy` for more options to use with check and run.
> See also: `mypy`.
> More information: <https://mypy.readthedocs.io/en/stable/mypy_daemon.html>.
- Type check a file, and start the daemon if it is not running:

View File

@@ -30,7 +30,7 @@ source: https://github.com/tldr-pages/tldr.git
- Create an image without pausing the container during commit:
`docker {{[commit|container commit]}} {{[-p|--pause]}} {{false}} {{container}} {{image}}:{{tag}}`
`docker {{[commit|container commit]}} {{[-p|--pause]}} false {{container}} {{image}}:{{tag}}`
- Display help:

View File

@@ -18,7 +18,7 @@ source: https://github.com/tldr-pages/tldr.git
- Print last 5 lines:
`docker {{[logs|container logs]}} {{container_name}} {{[-n|--tail]}} {{5}}`
`docker {{[logs|container logs]}} {{container_name}} {{[-n|--tail]}} 5`
- Print logs and append them with timestamps:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# docker container update
> Update configuration of Docker containers.
> This command is not supported for Windows containers.
> Note: This command is not supported for Windows containers.
> More information: <https://docs.docker.com/reference/cli/docker/container/update/>.
- Update restart policy to apply when a specific container exits:

View File

@@ -5,29 +5,29 @@ source: https://github.com/tldr-pages/tldr.git
---
# docker image ls
> Manage Docker images.
> List Docker images.
> More information: <https://docs.docker.com/reference/cli/docker/image/ls/>.
- List all Docker images:
`docker image ls`
`docker {{[images|image ls]}}`
- List all Docker images including intermediates:
`docker image ls {{[-a|--all]}}`
`docker {{[images|image ls]}} {{[-a|--all]}}`
- List the output in quiet mode (only numeric IDs):
`docker image ls {{[-q|--quiet]}}`
`docker {{[images|image ls]}} {{[-q|--quiet]}}`
- List all Docker images not used by any container:
`docker image ls {{[-f|--filter]}} dangling=true`
`docker {{[images|image ls]}} {{[-f|--filter]}} dangling=true`
- List images that contain a substring in their name:
`docker image ls "{{*name*}}"`
`docker {{[images|image ls]}} "{{*name*}}"`
- Sort images by size:
`docker image ls --format "\{\{.ID\}\} \{\{.Size\}\} \{\{.Repository\}\}:\{\{.Tag\}\}" | sort {{[-k|--key]}} 2 {{[-h|--human-numeric-sort]}}`
`docker {{[images|image ls]}} --format "\{\{.ID\}\} \{\{.Size\}\} \{\{.Repository\}\}:\{\{.Tag\}\}" | sort {{[-k|--key]}} 2 {{[-h|--human-numeric-sort]}}`

View File

@@ -20,7 +20,7 @@ source: https://github.com/tldr-pages/tldr.git
`docker {{[pull|image pull]}} {{[-a|--all-tags]}} {{image}}`
- Download a Docker images for a specific platform, e.g. linux/amd64:
- Download a Docker images for a specific platform:
`docker {{[pull|image pull]}} --platform {{linux/amd64}} {{image}}:{{tag}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# encfs
> Mount or create encrypted virtual filesystems.
> See also: `fusermount` which can unmount filesystems mounted by this command.
> See also: `fusermount`.
> More information: <https://manned.org/encfs>.
- Initialize or mount an encrypted filesystem:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# gcloud help
> Display help and reference information for `gcloud`.
> See also: `gcloud topic` for supplementary help topics not directly associated with individual commands.
> See also: `gcloud topic`.
> More information: <https://docs.cloud.google.com/sdk/gcloud/reference/help>.
- Search the `gcloud` CLI reference documents for specific terms:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# gcloud topic
> Display supplementary help for topics not directly associated with individual commands.
> See also: `gcloud help` for general help.
> See also: `gcloud help`.
> More information: <https://docs.cloud.google.com/sdk/gcloud/reference/topic>.
- View supplementary help material for non-command topics like accessibility, filtering, and formatting:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Abort an ongoing rebase, merge, or cherry-pick.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-abort>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-abort>.
- Abort a Git rebase, merge, or cherry-pick:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Create shortcuts for Git commands.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-alias>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-alias>.
- List all aliases:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# git am
> Apply patch files and create a commit. Useful when receiving commits via email.
> See also: `git format-patch` which can generate patch files.
> See also: `git format-patch`.
> More information: <https://git-scm.com/docs/git-am>.
- Apply and commit changes following a local patch file:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# git apply
> Apply a patch to files and/or to the index without creating a commit.
> See also: `git am` which applies a patch and also creates a commit.
> See also: `git am`.
> More information: <https://git-scm.com/docs/git-apply>.
- Print messages about the patched files:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Export all the files of the current Git branch into a Zip archive.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-archive-file>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-archive-file>.
- Pack the currently checked out commit into a Zip archive:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> View an upstream repository in the default browser.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-browse>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-browse>.
- Open the first upstream in the default browser:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Open the current Git repository's CI website in the default web browser.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-browse-ci>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-browse-ci>.
- Open the current repository's CI configuration on its upstream website:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Print a list of branches, sorted by last commit date.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-brv>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-brv>.
- List each branch showing date, latest commit hash, and message:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Execute operations on multiple Git repositories.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-bulk>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-bulk>.
- Register the current directory as a workspace:

View File

@@ -19,19 +19,19 @@ source: https://github.com/tldr-pages/tldr.git
- List a range of commits from the tag named `2.1.0` to now:
`git changelog {{[-l|--list]}} {{[-s|--start-tag]}} {{2.1.0}}`
`git changelog {{[-l|--list]}} {{[-s|--start-tag]}} 2.1.0`
- List pretty formatted range of commits between the tag `0.5.0` and the tag `1.0.0`:
`git changelog {{[-s|--start-tag]}} {{0.5.0}} {{[-f|--final-tag]}} {{1.0.0}}`
`git changelog {{[-s|--start-tag]}} 0.5.0 {{[-f|--final-tag]}} 1.0.0`
- List pretty formatted range of commits between the commit `0b97430` and the tag `1.0.0`:
`git changelog --start-commit {{0b97430}} {{[-f|--final-tag]}} {{1.0.0}}`
`git changelog --start-commit 0b97430 {{[-f|--final-tag]}} 1.0.0`
- Specify `CHANGELOG.md` as the output file:
`git changelog {{CHANGELOG.md}}`
`git changelog CHANGELOG.md`
- Replace contents of current changelog file entirely:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Clear a Git working directory as if it was freshly cloned with the current branch including files in `.gitignore`.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-clear>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-clear>.
- Reset all tracked files and delete all untracked files even if they are included in the `.gitignore`:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Clear a Git working directory as if it was freshly cloned with the current branch excluding files in `.gitignore`.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-clear-soft>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-clear-soft>.
- Reset all tracked files and delete all untracked files:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Add another author to the latest commit. Since this command rewrites the Git history, `--force` will be needed when pushing next time.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-coauthor>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-coauthor>.
- Insert an additional author to the last Git commit:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Display commits since a time or date.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-commits-since>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-commits-since>.
- Display commits since yesterday:

12
tldr/git-continue Normal file
View File

@@ -0,0 +1,12 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# git continue
> This command is an alias of `git abort`.
- View documentation for the original command:
`tldr git abort`

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Display commits from an author.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-contrib>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-contrib>.
- Display all commit hashes and their corresponding commit messages from a specific author:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Print the total number of commits.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-count>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-count>.
- Print the total number of commits:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Copy an existing file to a new location, preserving history.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-cp>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-cp>.
- Copy an existing file in a Git repo, staying in the same directory:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Delete local and remote Git branches.
> Part of `git-extras`. If deleting the checked out branch, only the remote branch will be deleted.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-delete-branch>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-delete-branch>.
- Delete one or more local and remote Git branches:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Delete branches that are listed in `git branch --merged` excluding master.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-delete-merged-branches>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-delete-merged-branches>.
- Delete merged branches:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Delete branches that have been "squashed-merged" into a specified branch and checkout. If no branch is specified, default to the currently checked out branch.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-delete-squashed-branches>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-delete-squashed-branches>.
- Delete all branches that were "squash-merged" into the current checked out branch:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Delete a submodule from a Git repository.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-delete-submodule>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-delete-submodule>.
- Delete a specific submodule:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Delete existing local and remote tags.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-delete-tag>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-delete-tag>.
- Delete a tag:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> List files that differ from another branch.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-delta>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-delta>.
- List files from the current checked out branch that differ from the `main` branch:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Display how much activity a file has had, showing commits per file and "active days" i.e. total number of days that contributed to the file.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-effort>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-effort>.
- Display each file in the repository, showing commits and active days:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Get the basic functionality of `git clone`, but if the destination Git repository already exists it will force-reset it to resemble a clone of the remote.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-force-clone>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-force-clone>.
- Clone a Git repository into a new directory:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Fork a GitHub repo. Like `git clone` but forks first.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-fork>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-fork>.
- Fork and clone a GitHub repository by its URL:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Create an empty local branch.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md##git-fresh-branch>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-fresh-branch>.
- Create an empty local branch:

View File

@@ -6,8 +6,8 @@ source: https://github.com/tldr-pages/tldr.git
# git fsck
> Verify the validity and connectivity of nodes in a Git repository index.
> Does not make any modifications.
> See also: `git gc` for cleaning up dangling blobs.
> Note: Does not make any modifications.
> See also: `git gc`.
> More information: <https://git-scm.com/docs/git-fsck>.
- Check the current repository:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Create a new branch inside the current repository called `gh-pages`.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-gh-pages>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-gh-pages>.
- Create the GitHub pages branch inside the repository in the current directory:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Merge commits from a branch into another branch and delete the source branch.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-graft>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-graft>.
- Merge all commits not present on the target branch from the source branch to target branch, and delete the source branch:

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> Show/update `.gitignore` files.
> Part of `git-extras`.
> See also: `git ignore-io`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-ignore>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-ignore>.
- Show the content of all global and local `.gitignore` files:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# git ignore-io
> Generate `.gitignore` files from predefined templates.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-ignore-io>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-ignore-io>.
- List available templates:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Show local commits that haven't been pushed to origin. Any additional arguments will be passed directly to `git log`.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-local-commits>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-local-commits>.
- Show commits that haven't been pushed:

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> Lock a file in a Git repository from being modified by a commit.
> Part of `git-extras`.
> See also: `git-unlock`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-lock>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-lock>.
- Disable the ability to commit changes of a local file:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> List locked files in a Git repository.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-locked>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-locked>.
- List all local locked files:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Merge one branch into another branch.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-merge-into>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-merge-into>.
- Merge a source branch into a specific destination branch:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Merge two repository histories.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-merge-repo>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-merge-repo>.
- Merge a repository's branch into the current repository's directory:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Show commits which aren't shared between two branches.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-missing>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-missing>.
- Show commits which aren't shared between the currently checked-out branch and another branch:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Check out GitLab merge requests locally.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-mr>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-mr>.
- Check out a specific merge request:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Delete files and erase their history from a Git repository.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-obliterate>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-obliterate>.
- Erase the existence of specific files:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Send commits to a pastebin site using `pastebinit`.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-paste>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-paste>.
- Send the patches between the current branch and its upstream to a pastebin using `pastebinit`:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Check out GitHub pull requests locally.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-pr>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-pr>.
- Check out a specific pull request:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Create a pull request for a project on GitHub.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-pull-request>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-pull-request>.
- Create a pull request for a project on GitHub:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Change details about an author identity. Since this command rewrites the Git history, `--force` will be needed when pushing next time.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-reauthor>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-reauthor>.
- Change an author's email and name across the whole Git repository:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Find the commit the patch applies to and do a rebase.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-rebase-patch>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-rebase-patch>.
- Find the commit the patch applies to and do a rebase:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Rename a Git branch.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-rename-branch>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-rename-branch>.
- Rename the branch you are currently on:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Change remote for pulling and pushing.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-rename-remote>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-rename-remote>.
- Change the upstream remote to origin:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Rename a Git tag.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-rename-tag>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-rename-tag>.
- Rename an existing Git tag locally and remotely:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Git REPL (read-evaluate-print-loop) - an interactive Git shell.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-repl>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-repl>.
- Start an interactive Git shell:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Revert a file to `HEAD` or a commit.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-reset-file>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-reset-file>.
- Reset a file to `HEAD`:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Print the root directory of the current Git repository.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-root>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-root>.
- Print the absolute path of the current Git repository:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Reverse `git scp` - copy files from the working directory of a remote repository to the current working tree.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-scp>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-scp>.
- Copy specific files from a remote:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Copy files from the current working tree to the working directory of a remote repository.
> Part of `git-extras`. Uses `rsync` to transfer files.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-scp>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-scp>.
- Copy unstaged files to a specific remote:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Create a Git repository in a directory and commit all files.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-setup>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-setup>.
- Create a Git repository in the current directory and commit all files:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# git show-merged-branches
> Print all branches which are merged into the current head.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-show-merged-branches>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-show-merged-branches>.
- Print all branches which are merged into the current head:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Show a decorated tree graph with all branches of a Git repository, showing annotations.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-show-tree>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-show-tree>.
- Show a decorated tree graph for all branches annotated with tags and branch names:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# git show-unmerged-branches
> Print all branches which are not merged into the current `HEAD`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-show-unmerged-branches>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-show-unmerged-branches>.
- Print all branches which are not merged into the current `HEAD`:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Create new files and add them to the index.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-touch>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-touch>.
- Create new files and add them to the index:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Undo recent commits.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-undo>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-undo>.
- Remove the most recent commit:

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> Unlock a file in a Git repository so it can be modified by a commit.
> Part of `git-extras`.
> See also: `git lock`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-unlock>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-unlock>.
- Enable the ability to commit changes of a previously-locked local file:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Change files modification time to their last commit date. Does not touch files that are in the working tree or index.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-utimes>.
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-utimes>.
- Change all files modification time to their last commit date:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# godot
> An open source 2D and 3D game engine.
> More information: <https://docs.godotengine.org/en/latest/tutorials/editor/command_line_tutorial.html>.
> More information: <https://docs.godotengine.org/en/stable/tutorials/editor/command_line_tutorial.html>.
- Run a project if the current directory contains a `project.godot` file, otherwise open the project manager:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# hledger
> A robust, friendly plain text accounting app.
> See also: `hledger-ui` for TUI, `hledger-web` for web interface.
> See also: `hledger-ui`, `hledger-web`.
> More information: <https://hledger.org/hledger.html>.
- Record new transactions interactively, saving to the default journal file:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# httpie
> Management interface for HTTPie.
> See also: `http`, the tool itself.
> See also: `http`.
> More information: <https://httpie.io/docs/cli/plugin-manager>.
- Check updates for `http`:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# kube-fzf
> Shell commands for command-line fuzzy searching of Kubernetes Pods.
> See also: `kubectl` for related commands.
> See also: `kubectl`.
> More information: <https://github.com/thecasualcoder/kube-fzf>.
- Get pod details (from current namespace):

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# lambo
> A super-powered `laravel new` for Laravel and Valet.
> See also: `lambo new` for additional command flags.
> See also: `lambo new`.
> More information: <https://github.com/tighten/lambo#usage>.
- Create a new Laravel application:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# bspwm
> A tiling window manager based on binary space partitioning.
> See also: `bspc` for controlling it.
> See also: `bspc`.
> More information: <https://github.com/baskerville/bspwm/blob/master/doc/bspwm.1.asciidoc>.
- Start `bspwm` (note that a pre-existing window manager must not be open when this command is run):

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# compsize
> Calculate the compression ratio of a set of files on a btrfs filesystem.
> See also: `btrfs filesystem` for recompressing a file by defragmenting it.
> See also: `btrfs filesystem`.
> More information: <https://manned.org/compsize>.
- Calculate the current compression ratio for a file or directory:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# extundelete
> Recover deleted files from ext3 or ext4 partitions by parsing the journal.
> See also: `date` for Unix time information and `umount` for unmounting partitions.
> See also: `date`, `umount`.
> More information: <https://extundelete.sourceforge.net/options.html>.
- Restore all deleted files inside partition `N` on device `X`:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# insmod
> Dynamically load modules into the Linux Kernel.
> See also: `kmod` for other module management commands.
> See also: `kmod`.
> More information: <https://manned.org/insmod>.
- Insert a kernel module into the Linux kernel:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# ipcs
> Show information about the usage of System V IPC facilities: shared memory segments, message queues, and semaphore arrays.
> See also: `lsipc` for a more flexible tool, `ipcmk` for creating IPC facilities, and `ipcrm` for deleting them.
> See also: `lsipc`, `ipcmk`, `ipcrm`.
> More information: <https://manned.org/ipcs>.
- Show information about all active IPC facilities:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Query an ID database for tokens matching a pattern.
> Note: An ID database must first be built using `mkid`.
> More information: <https://www.gnu.org/software/idutils/manual/html_node/lid-invocation.html>.
> More information: <https://www.gnu.org/software/idutils/manual/idutils.html#lid-invocation>.
- List all tokens and their file locations in the ID database:

Some files were not shown because too many files have changed in this diff Show More