gitk, kitex, rclone, venv: edit pages (#12539)
* gitk, kitex, rclone, venv: remove trailing & leading whitespace * gitk: remove placeholder --------- Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>
This commit is contained in:
@@ -21,4 +21,4 @@
|
|||||||
|
|
||||||
- Show at most 100 changes in all branches:
|
- Show at most 100 changes in all branches:
|
||||||
|
|
||||||
` gitk --max-count={{100}} --all`
|
`gitk --max-count=100 --all`
|
||||||
|
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
- Generate client codes when a project is not in `$GOPATH`:
|
- Generate client codes when a project is not in `$GOPATH`:
|
||||||
|
|
||||||
` kitex -module {{github.com/xx-org/xx-name}} {{path/to/IDL_file.thrift}}`
|
`kitex -module {{github.com/xx-org/xx-name}} {{path/to/IDL_file.thrift}}`
|
||||||
|
|
||||||
- Generate client codes with protobuf IDL:
|
- Generate client codes with protobuf IDL:
|
||||||
|
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
- Copy files changed within the past 24 hours to a remote from the local machine, asking the user to confirm each file:
|
- Copy files changed within the past 24 hours to a remote from the local machine, asking the user to confirm each file:
|
||||||
|
|
||||||
`rclone copy --interactive --max-age 24h {{remote_name}}:{{path/to/directory}} {{path/to/local_directory}} `
|
`rclone copy --interactive --max-age 24h {{remote_name}}:{{path/to/directory}} {{path/to/local_directory}}`
|
||||||
|
|
||||||
- Mirror a specific file or directory (Note: Unlike copy, sync removes files from the remote if it does not exist locally):
|
- Mirror a specific file or directory (Note: Unlike copy, sync removes files from the remote if it does not exist locally):
|
||||||
|
|
||||||
|
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
- Create a Python virtual environment:
|
- Create a Python virtual environment:
|
||||||
|
|
||||||
` python -m venv {{path/to/virtual_environment}}`
|
`python -m venv {{path/to/virtual_environment}}`
|
||||||
|
|
||||||
- Activate the virtual environment (Linux and macOS):
|
- Activate the virtual environment (Linux and macOS):
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user