conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Specify a specific revision changeset to pull up to via the `hg-pull` command"
},
{
"from": "gpt",
"value": "`hg pull --rev {{revision}}`"
}
] |
[
{
"from": "human",
"value": "Specify a specific branch to pull via the `hg-pull` command"
},
{
"from": "gpt",
"value": "`hg pull --branch {{branch}}`"
}
] |
[
{
"from": "human",
"value": "Specify a specific bookmark to pull via the `hg-pull` command"
},
{
"from": "gpt",
"value": "`hg pull --bookmark {{bookmark}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `hg push`."
},
{
"from": "gpt",
"value": "Push changes from the local repository to a specified destination.\nMore information: <https://www.mercurial-scm.org/doc/hg.1.html#push>.\n"
}
] |
[
{
"from": "human",
"value": "Push changes to the \"default\" remote path via the `hg-push` command"
},
{
"from": "gpt",
"value": "`hg push`"
}
] |
[
{
"from": "human",
"value": "Push changes to a specified remote repository via the `hg-push` command"
},
{
"from": "gpt",
"value": "`hg push {{path/to/destination_repository}}`"
}
] |
[
{
"from": "human",
"value": "Push a new branch if it does not exist (disabled by default) via the `hg-push` command"
},
{
"from": "gpt",
"value": "`hg push --new-branch`"
}
] |
[
{
"from": "human",
"value": "Specify a specific revision changeset to push via the `hg-push` command"
},
{
"from": "gpt",
"value": "`hg push --rev {{revision}}`"
}
] |
[
{
"from": "human",
"value": "Specify a specific branch to push via the `hg-push` command"
},
{
"from": "gpt",
"value": "`hg push --branch {{branch}}`"
}
] |
[
{
"from": "human",
"value": "Specify a specific bookmark to push via the `hg-push` command"
},
{
"from": "gpt",
"value": "`hg push --bookmark {{bookmark}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `hg remove`."
},
{
"from": "gpt",
"value": "Remove specified files from the staging area.\nMore information: <https://www.mercurial-scm.org/doc/hg.1.html#remove>.\n"
}
] |
[
{
"from": "human",
"value": "Remove files or directories from the staging area via the `hg-remove` command"
},
{
"from": "gpt",
"value": "`hg remove {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Remove all staged files matching a specified pattern via the `hg-remove` command"
},
{
"from": "gpt",
"value": "`hg remove --include {{pattern}}`"
}
] |
[
{
"from": "human",
"value": "Remove all staged files, excluding those that match a specified pattern via the `hg-remove` command"
},
{
"from": "gpt",
"value": "`hg remove --exclude {{pattern}}`"
}
] |
[
{
"from": "human",
"value": "Recursively remove sub-repositories via the `hg-remove` command"
},
{
"from": "gpt",
"value": "`hg remove --subrepos`"
}
] |
[
{
"from": "human",
"value": "Remove files from the repository that have been physically removed via the `hg-remove` command"
},
{
"from": "gpt",
"value": "`hg remove --after`"
}
] |
[
{
"from": "human",
"value": "Tell me about `hg root`."
},
{
"from": "gpt",
"value": "Display the root location of a Hg repository.\nMore information: <https://www.mercurial-scm.org/doc/hg.1.html#root>.\n"
}
] |
[
{
"from": "human",
"value": "Display the root location of the current repository via the `hg-root` command"
},
{
"from": "gpt",
"value": "`hg root`"
}
] |
[
{
"from": "human",
"value": "Display the root location of the specified repository via the `hg-root` command"
},
{
"from": "gpt",
"value": "`hg root --cwd {{path/to/directory}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `hg serve`."
},
{
"from": "gpt",
"value": "Start a standalone Mercurial web server for browsing repositories.\nMore information: <https://www.mercurial-scm.org/doc/hg.1.html#serve>.\n"
}
] |
[
{
"from": "human",
"value": "Start a web server instance via the `hg-serve` command"
},
{
"from": "gpt",
"value": "`hg serve`"
}
] |
[
{
"from": "human",
"value": "Start a web server instance on the specified port via the `hg-serve` command"
},
{
"from": "gpt",
"value": "`hg serve --port {{port}}`"
}
] |
[
{
"from": "human",
"value": "Start a web server instance on the specified listening address via the `hg-serve` command"
},
{
"from": "gpt",
"value": "`hg serve --address {{address}}`"
}
] |
[
{
"from": "human",
"value": "Start a web server instance with a specific identifier via the `hg-serve` command"
},
{
"from": "gpt",
"value": "`hg serve --name {{name}}`"
}
] |
[
{
"from": "human",
"value": "Start a web server instance using the specified theme (see the templates directory) via the `hg-serve` command"
},
{
"from": "gpt",
"value": "`hg serve --style {{style}}`"
}
] |
[
{
"from": "human",
"value": "Start a web server instance using the specified SSL certificate bundle via the `hg-serve` command"
},
{
"from": "gpt",
"value": "`hg serve --certificate {{path/to/certificate}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `hg status`."
},
{
"from": "gpt",
"value": "Show files that have changed in the working directory.\nMore information: <https://www.mercurial-scm.org/doc/hg.1.html#status>.\n"
}
] |
[
{
"from": "human",
"value": "Display the status of changed files via the `hg-status` command"
},
{
"from": "gpt",
"value": "`hg status`"
}
] |
[
{
"from": "human",
"value": "Display only modified files via the `hg-status` command"
},
{
"from": "gpt",
"value": "`hg status --modified`"
}
] |
[
{
"from": "human",
"value": "Display only added files via the `hg-status` command"
},
{
"from": "gpt",
"value": "`hg status --added`"
}
] |
[
{
"from": "human",
"value": "Display only removed files via the `hg-status` command"
},
{
"from": "gpt",
"value": "`hg status --removed`"
}
] |
[
{
"from": "human",
"value": "Display only deleted (but tracked) files via the `hg-status` command"
},
{
"from": "gpt",
"value": "`hg status --deleted`"
}
] |
[
{
"from": "human",
"value": "Display changes in the working directory compared to a specified changeset via the `hg-status` command"
},
{
"from": "gpt",
"value": "`hg status --rev {{revision}}`"
}
] |
[
{
"from": "human",
"value": "Display only files matching a specified glob pattern via the `hg-status` command"
},
{
"from": "gpt",
"value": "`hg status --include {{pattern}}`"
}
] |
[
{
"from": "human",
"value": "Display files, excluding those that match a specified glob pattern via the `hg-status` command"
},
{
"from": "gpt",
"value": "`hg status --exclude {{pattern}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `hg update`."
},
{
"from": "gpt",
"value": "Update the working directory to a specified changeset.\nMore information: <https://www.mercurial-scm.org/doc/hg.1.html#update>.\n"
}
] |
[
{
"from": "human",
"value": "Update to the tip of the current branch via the `hg-update` command"
},
{
"from": "gpt",
"value": "`hg update`"
}
] |
[
{
"from": "human",
"value": "Update to the specified revision via the `hg-update` command"
},
{
"from": "gpt",
"value": "`hg update --rev {{revision}}`"
}
] |
[
{
"from": "human",
"value": "Update and discard uncommitted changes via the `hg-update` command"
},
{
"from": "gpt",
"value": "`hg update --clean`"
}
] |
[
{
"from": "human",
"value": "Update to the last commit matching a specified date via the `hg-update` command"
},
{
"from": "gpt",
"value": "`hg update --date {{dd-mm-yyyy}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `highlight`."
},
{
"from": "gpt",
"value": "Outputs syntax-highlighted source code to a variety of formats.\nMore information: <http://www.andre-simon.de/doku/highlight/highlight.php>.\n"
}
] |
[
{
"from": "human",
"value": "Produce a complete HTML document from a source code file via the `highlight` command"
},
{
"from": "gpt",
"value": "`highlight --out-format={{html}} --style {{theme_name}} --syntax {{language}} {{path/to/source_code}}`"
}
] |
[
{
"from": "human",
"value": "Produce an HTML fragment, suitable for inclusion in a larger document via the `highlight` command"
},
{
"from": "gpt",
"value": "`highlight --out-format={{html}} --fragment --syntax {{language}} {{source_file}}`"
}
] |
[
{
"from": "human",
"value": "Inline the CSS styling in every tag via the `highlight` command"
},
{
"from": "gpt",
"value": "`highlight --out-format={{html}} --inline-css --syntax {{language}} {{source_file}}`"
}
] |
[
{
"from": "human",
"value": "List all supported languages, themes, or plugins via the `highlight` command"
},
{
"from": "gpt",
"value": "`highlight --list-scripts {{langs|themes|plugins}}`"
}
] |
[
{
"from": "human",
"value": "Print a CSS stylesheet for a theme via the `highlight` command"
},
{
"from": "gpt",
"value": "`highlight --out-format={{html}} --print-style --style {{theme_name}} --syntax {{language}}] --stdout`"
}
] |
[
{
"from": "human",
"value": "Tell me about `hipstopgm`."
},
{
"from": "gpt",
"value": "Read a HIPS file as input and return a PGM image as output.\nIf the HIPS file contains more than one frame in sequence, `hipstopgm` will concatenate all the frames vertically.\nMore information: <https://netpb... |
[
{
"from": "human",
"value": "Convert a HIPS file into a PGM image via the `hipstopgm` command"
},
{
"from": "gpt",
"value": "`hipstopgm {{path/to/file.hips}}`"
}
] |
[
{
"from": "human",
"value": "Suppress all informational messages via the `hipstopgm` command"
},
{
"from": "gpt",
"value": "`hipstopgm {{[-q|-quiet]}}`"
}
] |
[
{
"from": "human",
"value": "Display version via the `hipstopgm` command"
},
{
"from": "gpt",
"value": "`hipstopgm {{[-v|-version]}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `history`."
},
{
"from": "gpt",
"value": "Command-line history.\nMore information: <https://www.gnu.org/software/bash/manual/html_node/Bash-History-Builtins.html#index-history>.\n"
}
] |
[
{
"from": "human",
"value": "Display the commands history list with line numbers via the `history` command"
},
{
"from": "gpt",
"value": "`history`"
}
] |
[
{
"from": "human",
"value": "Display the last 20 commands (in Zsh it displays all commands starting from the 20th) via the `history` command"
},
{
"from": "gpt",
"value": "`history {{20}}`"
}
] |
[
{
"from": "human",
"value": "Display history with timestamps in different formats (only available in Zsh) via the `history` command"
},
{
"from": "gpt",
"value": "`history -{{d|f|i|E}}`"
}
] |
[
{
"from": "human",
"value": "[c]lear the commands history list (only for current Bash shell) via the `history` command"
},
{
"from": "gpt",
"value": "`history -c`"
}
] |
[
{
"from": "human",
"value": "Over[w]rite history file with history of current Bash shell (often combined with `history -c` to purge history) via the `history` command"
},
{
"from": "gpt",
"value": "`history -w`"
}
] |
[
{
"from": "human",
"value": "[d]elete the history entry at the specified offset via the `history` command"
},
{
"from": "gpt",
"value": "`history -d {{offset}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `hive`."
},
{
"from": "gpt",
"value": "CLI tool for Apache Hive.\nMore information: <https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Cli>.\n"
}
] |
[
{
"from": "human",
"value": "Start a Hive interactive shell via the `hive` command"
},
{
"from": "gpt",
"value": "`hive`"
}
] |
[
{
"from": "human",
"value": "Run HiveQL via the `hive` command"
},
{
"from": "gpt",
"value": "`hive -e \"{{hiveql_query}}\"`"
}
] |
[
{
"from": "human",
"value": "Run a HiveQL file with a variable substitution via the `hive` command"
},
{
"from": "gpt",
"value": "`hive --define {{key}}={{value}} -f {{path/to/file.sql}}`"
}
] |
[
{
"from": "human",
"value": "Run a HiveQL with HiveConfig (e.g. `mapred.reduce.tasks=32`) via the `hive` command"
},
{
"from": "gpt",
"value": "`hive --hiveconf {{conf_name}}={{conf_value}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `hledger accounts`."
},
{
"from": "gpt",
"value": "List account names.\nMore information: <https://hledger.org/hledger.html#accounts>.\n"
}
] |
[
{
"from": "human",
"value": "Show all accounts used or declared in the default journal file via the `hledger-accounts` command"
},
{
"from": "gpt",
"value": "`hledger accounts`"
}
] |
[
{
"from": "human",
"value": "Show accounts used by transactions via the `hledger-accounts` command"
},
{
"from": "gpt",
"value": "`hledger accounts --used`"
}
] |
[
{
"from": "human",
"value": "Show accounts declared with account directives via the `hledger-accounts` command"
},
{
"from": "gpt",
"value": "`hledger accounts --declared`"
}
] |
[
{
"from": "human",
"value": "Add new account directives, for accounts used but not declared, to the journal via the `hledger-accounts` command"
},
{
"from": "gpt",
"value": "`hledger accounts --undeclared --directives >> {{2024-accounts.journal}}`"
}
] |
[
{
"from": "human",
"value": "Show accounts with `asset` in their name, and their declared/inferred types via the `hledger-accounts` command"
},
{
"from": "gpt",
"value": "`hledger accounts asset --types`"
}
] |
[
{
"from": "human",
"value": "Show accounts of the `Asset` type via the `hledger-accounts` command"
},
{
"from": "gpt",
"value": "`hledger accounts type:A`"
}
] |
[
{
"from": "human",
"value": "Show the first two levels of the accounts hierarchy via the `hledger-accounts` command"
},
{
"from": "gpt",
"value": "`hledger accounts --tree --depth 2`"
}
] |
[
{
"from": "human",
"value": "Short form of the above via the `hledger-accounts` command"
},
{
"from": "gpt",
"value": "`hledger acc -t -2`"
}
] |
[
{
"from": "human",
"value": "Tell me about `hledger add`."
},
{
"from": "gpt",
"value": "Record new transactions with interactive prompting in the console.\nMore information: <https://hledger.org/hledger.html#add>.\n"
}
] |
[
{
"from": "human",
"value": "Record new transactions, saving to the default journal file via the `hledger-add` command"
},
{
"from": "gpt",
"value": "`hledger add`"
}
] |
[
{
"from": "human",
"value": "Add transactions to `2024.journal`, but also load `2023.journal` for completions via the `hledger-add` command"
},
{
"from": "gpt",
"value": "`hledger add --file {{path/to/2024.journal}} --file {{path/to/2023.journal}}`"
}
] |
[
{
"from": "human",
"value": "Provide answers for the first four prompts via the `hledger-add` command"
},
{
"from": "gpt",
"value": "`hledger add {{today}} '{{best buy}}' {{expenses:supplies}} '{{$20}}'`"
}
] |
[
{
"from": "human",
"value": "Show `add`'s options and documentation with `$PAGER` via the `hledger-add` command"
},
{
"from": "gpt",
"value": "`hledger add --help`"
}
] |
[
{
"from": "human",
"value": "Show `add`'s documentation with `info` or `man` if available via the `hledger-add` command"
},
{
"from": "gpt",
"value": "`hledger help add`"
}
] |
[
{
"from": "human",
"value": "Tell me about `hledger aregister`."
},
{
"from": "gpt",
"value": "Show the transactions and running balances in one account, with each transaction on one line.\nMore information: <https://hledger.org/hledger.html#aregister>.\n"
}
] |
[
{
"from": "human",
"value": "Show transactions and running balance in the `assets:bank:checking` account via the `hledger-aregister` command"
},
{
"from": "gpt",
"value": "`hledger aregister assets:bank:checking`"
}
] |
[
{
"from": "human",
"value": "Show transactions and running balance in the first account named `*savings*` via the `hledger-aregister` command"
},
{
"from": "gpt",
"value": "`hledger aregister savings`"
}
] |
[
{
"from": "human",
"value": "Show the checking account's cleared transactions, with a specified width via the `hledger-aregister` command"
},
{
"from": "gpt",
"value": "`hledger aregister checking --cleared --width {{120}}`"
}
] |
[
{
"from": "human",
"value": "Show the checking register, including transactions from forecast rules via the `hledger-aregister` command"
},
{
"from": "gpt",
"value": "`hledger aregister checking --forecast`"
}
] |
[
{
"from": "human",
"value": "Tell me about `hledger balance`."
},
{
"from": "gpt",
"value": "A flexible, general purpose \"summing\" report that shows accounts with some kind of numeric data.\nThis can be balance changes per period, end balances, budget performance, unrealised capital gains, etc... |
[
{
"from": "human",
"value": "Show the balance change in all accounts from all postings over all time via the `hledger-balance` command"
},
{
"from": "gpt",
"value": "`hledger balance`"
}
] |
[
{
"from": "human",
"value": "Show the balance change in accounts named `*expenses*`, as a tree, summarising the top two levels only via the `hledger-balance` command"
},
{
"from": "gpt",
"value": "`hledger balance {{expenses}} --tree --depth {{2}}`"
}
] |
[
{
"from": "human",
"value": "Show expenses each month, and their totals and averages, sorted by total; and their monthly budget goals via the `hledger-balance` command"
},
{
"from": "gpt",
"value": "`hledger balance {{expenses}} --monthly --row-total --average --sort-amount --budget`"
}
] |
[
{
"from": "human",
"value": "Similar to the above, shorter form, matching accounts by `Expense` type, as a two level tree without squashing boring accounts via the `hledger-balance` command"
},
{
"from": "gpt",
"value": "`hledger bal type:{{X}} -MTAS --budget -t -{{2}} --no-elide`"
}
] |
[
{
"from": "human",
"value": "Show end balances (including from postings before the start date), quarterly in 2024, in accounts named `*assets*` or `*liabilities*` via the `hledger-balance` command"
},
{
"from": "gpt",
"value": "`hledger balance --historical --period '{{quarterly in 2024}}' {{ass... |
[
{
"from": "human",
"value": "Similar to the above, shorter form; also show zero balances, sort by total and summarise to three levels via the `hledger-balance` command"
},
{
"from": "gpt",
"value": "`hledger bal -HQ date:{{2024}} type:{{AL}} -ES -{{3}}`"
}
] |
[
{
"from": "human",
"value": "Show investment assets' market value in base currency at the end of each quarter via the `hledger-balance` command"
},
{
"from": "gpt",
"value": "`hledger bal -HVQ {{assets:investments}}`"
}
] |
[
{
"from": "human",
"value": "Show unrealised capital gains/losses from market price changes in each quarter, for non-cryptocurrency investment assets via the `hledger-balance` command"
},
{
"from": "gpt",
"value": "`hledger bal --gain -Q {{assets:investments}} not:{{cryptocurrency}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `hledger balancesheet`."
},
{
"from": "gpt",
"value": "Show the end balances in asset and liability accounts.\nAmounts are shown with normal positive sign, as in conventional financial statements.\nMore information: <https://hledger.org/hledger.html#bal... |
[
{
"from": "human",
"value": "Show the current balances in `Asset` and `Liability` accounts, excluding zeros via the `hledger-balancesheet` command"
},
{
"from": "gpt",
"value": "`hledger balancesheet`"
}
] |
[
{
"from": "human",
"value": "Show just the liquid assets (`Cash` account type) via the `hledger-balancesheet` command"
},
{
"from": "gpt",
"value": "`hledger balancesheet type:C`"
}
] |
[
{
"from": "human",
"value": "Include accounts with zero balances, and show the account hierarchy via the `hledger-balancesheet` command"
},
{
"from": "gpt",
"value": "`hledger balancesheet --empty --tree`"
}
] |
[
{
"from": "human",
"value": "Show the balances at the end of each month via the `hledger-balancesheet` command"
},
{
"from": "gpt",
"value": "`hledger balancesheet --monthly`"
}
] |
[
{
"from": "human",
"value": "Show the balances' market value in home currency at the end of each month via the `hledger-balancesheet` command"
},
{
"from": "gpt",
"value": "`hledger balancesheet --monthly -V`"
}
] |
[
{
"from": "human",
"value": "Show quarterly balances, with just the top two levels of account hierarchy via the `hledger-balancesheet` command"
},
{
"from": "gpt",
"value": "`hledger balancesheet --quarterly --tree --depth 2`"
}
] |
[
{
"from": "human",
"value": "Short form of the above, and generate HTML output in `bs.html` via the `hledger-balancesheet` command"
},
{
"from": "gpt",
"value": "`hledger bs -Qt -2 -o bs.html`"
}
] |
[
{
"from": "human",
"value": "Tell me about `hledger import`."
},
{
"from": "gpt",
"value": "Import new transactions from one or more data files to the main journal.\nMore information: <https://hledger.org/hledger.html#import>.\n"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.