mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-12-25 18:03:07 +03:00
fixup: token string style (#1081)
- use underscore rather than minus - use lower case rather than uppder case
This commit is contained in:
parent
a6efcb6ba8
commit
5a54763c72
@ -9,11 +9,11 @@
|
||||
|
||||
- Search for ebooks displaying additional information:
|
||||
|
||||
`calibredb list --search {{search-term}}`
|
||||
`calibredb list --search {{search_term}}`
|
||||
|
||||
- Search for just ids of ebooks:
|
||||
|
||||
`calibredb search {{search term}}`
|
||||
`calibredb search {{search_term}}`
|
||||
|
||||
- Add one or more ebooks to the library:
|
||||
|
||||
|
@ -4,11 +4,11 @@
|
||||
|
||||
- Switch to another branch:
|
||||
|
||||
`git checkout {{BRANCH-NAME}}`
|
||||
`git checkout {{branch_name}}`
|
||||
|
||||
- Create and switch to a new branch:
|
||||
|
||||
`git checkout -b {{BRANCH-NAME}}`
|
||||
`git checkout -b {{branch_name}}`
|
||||
|
||||
- Undo unstaged local modification:
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
- Clone an existing repository:
|
||||
|
||||
`git clone {{REMOTE-REPOSITORY-LOCATION}}`
|
||||
`git clone {{remote_repository_location}}`
|
||||
|
||||
- For cloning from the local machine:
|
||||
|
||||
@ -16,4 +16,4 @@
|
||||
|
||||
- Clone an existing repository, and truncate to the specified number of revisions, save your time mostly:
|
||||
|
||||
`git clone --depth 10 {{REMOTE-REPOSITORY-LOCATION}}`
|
||||
`git clone --depth 10 {{remote_repository_location}}`
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
- Commit staged files to the repository with comment:
|
||||
|
||||
`git commit -m {{MESSAGE}}`
|
||||
`git commit -m {{message}}`
|
||||
|
||||
- Replace the last commit with currently staged changes:
|
||||
|
||||
|
@ -4,8 +4,8 @@
|
||||
|
||||
- Merge a branch with your current branch:
|
||||
|
||||
`git merge {{BRANCH-NAME}}`
|
||||
`git merge {{branch_name}}`
|
||||
|
||||
- Edit the merge message:
|
||||
|
||||
`git merge -e {{BRANCH-NAME}}`
|
||||
`git merge -e {{branch_name}}`
|
||||
|
@ -4,19 +4,19 @@
|
||||
|
||||
- Publish local changes on a remote branch:
|
||||
|
||||
`git push {{REMOTE-NAME}} {{LOCAL-BRANCH}}`
|
||||
`git push {{remote_name}} {{local_branch}}`
|
||||
|
||||
- Publish local changes on a remote branch of different name:
|
||||
|
||||
`git push {{REMOTE-NAME}} {{LOCAL-BRANCH}}:{{REMOTE-BRANCH}}`
|
||||
`git push {{remote_name}} {{local_branch}}:{{remote_branch}}`
|
||||
|
||||
- Remove remote branch:
|
||||
|
||||
`git push {{REMOTE-NAME}} :{{REMOTE-BRANCH}}`
|
||||
`git push {{remote_name}} :{{remote_branch}}`
|
||||
|
||||
- Remove remote branches which don't exist locally:
|
||||
|
||||
`git push --prune {{REMOTE-NAME}}`
|
||||
`git push --prune {{remote_name}}`
|
||||
|
||||
- Publish tags:
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
- Add a git repository as a submodule:
|
||||
|
||||
`git submodule add {{repository-url}}`
|
||||
`git submodule add {{repository_url}}`
|
||||
|
||||
- Update every submodule to its latest commit:
|
||||
|
||||
|
@ -12,8 +12,8 @@
|
||||
|
||||
- Call help on a command:
|
||||
|
||||
`git help {{COMMAND}}`
|
||||
`git help {{command}}`
|
||||
|
||||
- Execute Git command:
|
||||
|
||||
`git {{COMMAND}}`
|
||||
`git {{command}}`
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
- Add an SRT subtitle file into an MP4 file:
|
||||
|
||||
`MP4Box -add {{input-subs.srt}}:lang=eng -add {{input.mp4}} {{output.mp4}}`
|
||||
`MP4Box -add {{input_subs.srt}}:lang=eng -add {{input.mp4}} {{output.mp4}}`
|
||||
|
||||
- Combine audio from one file and video from another:
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
- Boot QEMU instance with a live ISO image:
|
||||
|
||||
`qemu-system-i386 -hda {{image_name.img}} -cdrom {{os-image.iso}} -boot d`
|
||||
`qemu-system-i386 -hda {{image_name.img}} -cdrom {{os_image.iso}} -boot d`
|
||||
|
||||
- Specify amount of RAM for instance:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user