37 lines
988 B
Markdown
37 lines
988 B
Markdown
# Mercurial
|
|
|
|
|
-|-
|
|
hg book <bookmark name> | temporary branch
|
|
hg pull/hg rebase -d master | git pull --rebase
|
|
hg revert <file> | git co -f <file>
|
|
hg commit | git ci
|
|
|
|
|
|
# Jelly Fish
|
|
|
|
|
-|-
|
|
jf apply --all --suggested [--dry-run] | apply suggested changes
|
|
jf apply --accepted --suggested [--dry-run] | apply accepted changes
|
|
jf submit -e | sumbit and edit a comment
|
|
jf land | land the change
|
|
|
|
# Buck
|
|
|
|
|
-|-
|
|
buck test @mode/dev-nosan local/path/... | run all tests
|
|
buck build @mode/opt local/path/... | build optimized version (by default @mode/dev)
|
|
|
|
# On deman DB
|
|
|
|
|
-|-
|
|
ondemand devdb new | new dev DB
|
|
ondemand devdb list | list dev DBs
|
|
ondemand devdb connect --name <name of the ephemeral xdb shard> | connect to dev DB
|
|
|
|
# MySQL
|
|
|
|
|
-|-
|
|
SHOW DATABASES; |
|
|
SHOW DATABASES LIKE 'open%'; |
|
|
SHOW SCHEMAS; |
|