mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-24 15:52:12 +00:00
Update cheatsheets
This commit is contained in:
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
# git local-commits
|
# git local-commits
|
||||||
|
|
||||||
> Show local commits that haven't been pushed to origin. Any additional arguments will be passed directly to `git log`.
|
> Show local commits that haven't been pushed to origin. Any additional arguments will be passed directly to `git log`.
|
||||||
> Part of `git-extras.
|
> 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/master/Commands.md#git-local-commits>.
|
||||||
|
|
||||||
- Show commits that haven't been pushed:
|
- Show commits that haven't been pushed:
|
||||||
|
|||||||
29
tldr/linux/mkinitfs
Normal file
29
tldr/linux/mkinitfs
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
---
|
||||||
|
syntax: markdown
|
||||||
|
tags: [tldr, linux]
|
||||||
|
source: https://github.com/tldr-pages/tldr.git
|
||||||
|
---
|
||||||
|
# mkinitfs
|
||||||
|
|
||||||
|
> Generate an initramfs on Alpine Linux.
|
||||||
|
> More information: <https://manned.org/mkinitfs>.
|
||||||
|
|
||||||
|
- Generate an initramfs with the features specified in `/etc/mkinitfs/mkinitfs.conf`:
|
||||||
|
|
||||||
|
`mkinitfs`
|
||||||
|
|
||||||
|
- Use a different configuration file:
|
||||||
|
|
||||||
|
`mkinitfs -c {{path/to/config}}`
|
||||||
|
|
||||||
|
- Compress the initramfs using the specified compression algorithm (default: gzip):
|
||||||
|
|
||||||
|
`mkinitfs -c {{gzip|xz|zstd|lz4|none}}`
|
||||||
|
|
||||||
|
- List files that will be included in the initramfs image:
|
||||||
|
|
||||||
|
`mkinitfs -l`
|
||||||
|
|
||||||
|
- List all available features:
|
||||||
|
|
||||||
|
`mkinitfs -L`
|
||||||
Reference in New Issue
Block a user