fixup: token string style (#1081)

- use underscore rather than minus
- use lower case rather than uppder case
This commit is contained in:
Te-Chi Liu
2016-09-21 23:35:46 +08:00
committed by Agniva De Sarker
parent a6efcb6ba8
commit 5a54763c72
10 changed files with 18 additions and 18 deletions

View File

@@ -9,11 +9,11 @@
- Search for ebooks displaying additional information: - Search for ebooks displaying additional information:
`calibredb list --search {{search-term}}` `calibredb list --search {{search_term}}`
- Search for just ids of ebooks: - Search for just ids of ebooks:
`calibredb search {{search term}}` `calibredb search {{search_term}}`
- Add one or more ebooks to the library: - Add one or more ebooks to the library:

View File

@@ -4,11 +4,11 @@
- Switch to another branch: - Switch to another branch:
`git checkout {{BRANCH-NAME}}` `git checkout {{branch_name}}`
- Create and switch to a new branch: - Create and switch to a new branch:
`git checkout -b {{BRANCH-NAME}}` `git checkout -b {{branch_name}}`
- Undo unstaged local modification: - Undo unstaged local modification:

View File

@@ -4,7 +4,7 @@
- Clone an existing repository: - Clone an existing repository:
`git clone {{REMOTE-REPOSITORY-LOCATION}}` `git clone {{remote_repository_location}}`
- For cloning from the local machine: - 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: - 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}}`

View File

@@ -4,7 +4,7 @@
- Commit staged files to the repository with comment: - Commit staged files to the repository with comment:
`git commit -m {{MESSAGE}}` `git commit -m {{message}}`
- Replace the last commit with currently staged changes: - Replace the last commit with currently staged changes:

View File

@@ -4,8 +4,8 @@
- Merge a branch with your current branch: - Merge a branch with your current branch:
`git merge {{BRANCH-NAME}}` `git merge {{branch_name}}`
- Edit the merge message: - Edit the merge message:
`git merge -e {{BRANCH-NAME}}` `git merge -e {{branch_name}}`

View File

@@ -4,19 +4,19 @@
- Publish local changes on a remote branch: - 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: - 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: - Remove remote branch:
`git push {{REMOTE-NAME}} :{{REMOTE-BRANCH}}` `git push {{remote_name}} :{{remote_branch}}`
- Remove remote branches which don't exist locally: - Remove remote branches which don't exist locally:
`git push --prune {{REMOTE-NAME}}` `git push --prune {{remote_name}}`
- Publish tags: - Publish tags:

View File

@@ -8,7 +8,7 @@
- Add a git repository as a submodule: - Add a git repository as a submodule:
`git submodule add {{repository-url}}` `git submodule add {{repository_url}}`
- Update every submodule to its latest commit: - Update every submodule to its latest commit:

View File

@@ -12,8 +12,8 @@
- Call help on a command: - Call help on a command:
`git help {{COMMAND}}` `git help {{command}}`
- Execute Git command: - Execute Git command:
`git {{COMMAND}}` `git {{command}}`

View File

@@ -8,7 +8,7 @@
- Add an SRT subtitle file into an MP4 file: - 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: - Combine audio from one file and video from another:

View File

@@ -13,7 +13,7 @@
- Boot QEMU instance with a live ISO image: - 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: - Specify amount of RAM for instance: