mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-07 03:45:33 +00:00
Update cheatsheets
This commit is contained in:
@@ -26,4 +26,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Show at most 100 changes in all branches:
|
||||
|
||||
` gitk --max-count={{100}} --all`
|
||||
`gitk --max-count=100 --all`
|
||||
|
||||
@@ -15,7 +15,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- 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:
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- 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):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user