conversations
listlengths
2
2
[ { "from": "human", "value": "Tell me about `git clean`." }, { "from": "gpt", "value": "Remove files not tracked by Git from the working tree.\nMore information: <https://git-scm.com/docs/git-clean>.\n" } ]
[ { "from": "human", "value": "Delete untracked files via the `git-clean` command" }, { "from": "gpt", "value": "`git clean`" } ]
[ { "from": "human", "value": "Interactively delete untracked files via the `git-clean` command" }, { "from": "gpt", "value": "`git clean {{[-i|--interactive]}}`" } ]
[ { "from": "human", "value": "Show which files would be deleted without actually deleting them via the `git-clean` command" }, { "from": "gpt", "value": "`git clean {{[-n|--dry-run]}}`" } ]
[ { "from": "human", "value": "Forcefully delete untracked files via the `git-clean` command" }, { "from": "gpt", "value": "`git clean {{[-f|--force]}}`" } ]
[ { "from": "human", "value": "Forcefully delete untracked [d]irectories via the `git-clean` command" }, { "from": "gpt", "value": "`git clean {{[-f|--force]}} -d`" } ]
[ { "from": "human", "value": "Delete untracked files, including e[x]cluded files (files ignored in `.gitignore` and `.git/info/exclude`) via the `git-clean` command" }, { "from": "gpt", "value": "`git clean -x`" } ]
[ { "from": "human", "value": "Tell me about `git clear`." }, { "from": "gpt", "value": "Clear a Git working directory as if it was freshly cloned with the current branch including files in `.gitignore`.\nPart of `git-extras`.\nMore information: <https://github.com/tj/git-extras/blob/master/Comman...
[ { "from": "human", "value": "Reset all tracked files and delete all untracked files even if they are included in the `.gitignore` via the `git-clear` command" }, { "from": "gpt", "value": "`git clear`" } ]
[ { "from": "human", "value": "Tell me about `git clear-soft`." }, { "from": "gpt", "value": "Clear a Git working directory as if it was freshly cloned with the current branch excluding files in `.gitignore`.\nPart of `git-extras`.\nMore information: <https://github.com/tj/git-extras/blob/master/C...
[ { "from": "human", "value": "Reset all tracked files and delete all untracked files via the `git-clear-soft` command" }, { "from": "gpt", "value": "`git clear-soft`" } ]
[ { "from": "human", "value": "Tell me about `git cliff`." }, { "from": "gpt", "value": "A highly customizable changelog generator.\nMore information: <https://git-cliff.org/docs/usage/args>.\n" } ]
[ { "from": "human", "value": "Generate a changelog from all commits in a Git repository and save it to `CHANGELOG.md` via the `git-cliff` command" }, { "from": "gpt", "value": "`git cliff > {{CHANGELOG.md}}`" } ]
[ { "from": "human", "value": "Generate a changelog from commits starting from the latest tag and print it to `stdout` via the `git-cliff` command" }, { "from": "gpt", "value": "`git cliff {{[-l|--latest]}}`" } ]
[ { "from": "human", "value": "Generate a changelog from commits that belong to the current tag (use `git checkout` on a tag before this) via the `git-cliff` command" }, { "from": "gpt", "value": "`git cliff --current`" } ]
[ { "from": "human", "value": "Generate a changelog from commits that do not belong to a tag via the `git-cliff` command" }, { "from": "gpt", "value": "`git cliff {{[-u|--unreleased]}}`" } ]
[ { "from": "human", "value": "Write the default config file to `cliff.toml` in the current directory via the `git-cliff` command" }, { "from": "gpt", "value": "`git cliff {{[-i|--init]}}`" } ]
[ { "from": "human", "value": "Tell me about `git clone`." }, { "from": "gpt", "value": "Clone an existing repository.\nMore information: <https://git-scm.com/docs/git-clone>.\n" } ]
[ { "from": "human", "value": "Clone an existing repository into a new directory (the default directory is the repository name) via the `git-clone` command" }, { "from": "gpt", "value": "`git clone {{remote_repository_location}} {{path/to/directory}}`" } ]
[ { "from": "human", "value": "Clone an existing repository and its submodules via the `git-clone` command" }, { "from": "gpt", "value": "`git clone --recursive {{remote_repository_location}}`" } ]
[ { "from": "human", "value": "Clone only the `.git` directory of an existing repository via the `git-clone` command" }, { "from": "gpt", "value": "`git clone {{[-n|--no-checkout]}} {{remote_repository_location}}`" } ]
[ { "from": "human", "value": "Clone a local repository via the `git-clone` command" }, { "from": "gpt", "value": "`git clone {{[-l|--local]]} {{path/to/local/repository}}`" } ]
[ { "from": "human", "value": "Clone quietly via the `git-clone` command" }, { "from": "gpt", "value": "`git clone {{[-q|--quiet]}} {{remote_repository_location}}`" } ]
[ { "from": "human", "value": "Clone an existing repository only fetching the 10 most recent commits on the default branch (useful to save time) via the `git-clone` command" }, { "from": "gpt", "value": "`git clone --depth {{10}} {{remote_repository_location}}`" } ]
[ { "from": "human", "value": "Clone an existing repository only fetching a specific branch via the `git-clone` command" }, { "from": "gpt", "value": "`git clone {{[-b|--branch]}} {{name}} --single-branch {{remote_repository_location}}`" } ]
[ { "from": "human", "value": "Clone an existing repository using a specific SSH command via the `git-clone` command" }, { "from": "gpt", "value": "`git clone {{[-c|--config]}} core.sshCommand=\"{{ssh -i path/to/private_ssh_key}}\" {{remote_repository_location}}`" } ]
[ { "from": "human", "value": "Tell me about `git coauthor`." }, { "from": "gpt", "value": "Add another author to the latest commit. Since this command rewrites the Git history, `--force` will be needed when pushing next time.\nPart of `git-extras`.\nMore information: <https://github.com/tj/git-ex...
[ { "from": "human", "value": "Insert an additional author to the last Git commit via the `git-coauthor` command" }, { "from": "gpt", "value": "`git coauthor {{name}} {{name@example.com}}`" } ]
[ { "from": "human", "value": "Tell me about `git cola`." }, { "from": "gpt", "value": "A powerful Git GUI with a slick and intuitive user interface.\nMore information: <https://git-cola.readthedocs.io>.\n" } ]
[ { "from": "human", "value": "Start the GUI via the `git-cola` command" }, { "from": "gpt", "value": "`git cola`" } ]
[ { "from": "human", "value": "Start the GUI in amend mode via the `git-cola` command" }, { "from": "gpt", "value": "`git cola --amend`" } ]
[ { "from": "human", "value": "Prompt for a Git repository. Defaults to the current directory via the `git-cola` command" }, { "from": "gpt", "value": "`git cola --prompt`" } ]
[ { "from": "human", "value": "Open the Git repository at mentioned path via the `git-cola` command" }, { "from": "gpt", "value": "`git cola --repo {{path/to/git-repository}}`" } ]
[ { "from": "human", "value": "Apply the path filter to the status widget via the `git-cola` command" }, { "from": "gpt", "value": "`git cola --status-filter {{filter}}`" } ]
[ { "from": "human", "value": "Tell me about `git column`." }, { "from": "gpt", "value": "Display data in columns.\nMore information: <https://git-scm.com/docs/git-column>.\n" } ]
[ { "from": "human", "value": "Format `stdin` as multiple columns via the `git-column` command" }, { "from": "gpt", "value": "`ls | git column --mode={{column}}`" } ]
[ { "from": "human", "value": "Format `stdin` as multiple columns with a maximum width of `100` via the `git-column` command" }, { "from": "gpt", "value": "`ls | git column --mode=column --width={{100}}`" } ]
[ { "from": "human", "value": "Format `stdin` as multiple columns with a maximum padding of `30` via the `git-column` command" }, { "from": "gpt", "value": "`ls | git column --mode=column --padding={{30}}`" } ]
[ { "from": "human", "value": "Tell me about `git commit-graph`." }, { "from": "gpt", "value": "Write and verify Git commit-graph files.\nMore information: <https://git-scm.com/docs/git-commit-graph>.\n" } ]
[ { "from": "human", "value": "Write a commit-graph file for the packed commits in the repository's local `.git` directory via the `git-commit-graph` command" }, { "from": "gpt", "value": "`git commit-graph write`" } ]
[ { "from": "human", "value": "Write a commit-graph file containing all reachable commits via the `git-commit-graph` command" }, { "from": "gpt", "value": "`git show-ref --hash | git commit-graph write --stdin-commits`" } ]
[ { "from": "human", "value": "Write a commit-graph file containing all commits in the current commit-graph file along with those reachable from `HEAD` via the `git-commit-graph` command" }, { "from": "gpt", "value": "`git rev-parse {{HEAD}} | git commit-graph write --stdin-commits --append`" } ...
[ { "from": "human", "value": "Tell me about `git commit`." }, { "from": "gpt", "value": "Commit files to the repository.\nMore information: <https://git-scm.com/docs/git-commit>.\n" } ]
[ { "from": "human", "value": "Commit staged files to the repository with a message via the `git-commit` command" }, { "from": "gpt", "value": "`git commit {{[-m|--message]}} \"{{message}}\"`" } ]
[ { "from": "human", "value": "Commit staged files with a message read from a file via the `git-commit` command" }, { "from": "gpt", "value": "`git commit {{[-F|--file]}} {{path/to/commit_message_file}}`" } ]
[ { "from": "human", "value": "Auto stage all modified and deleted files and commit with a message via the `git-commit` command" }, { "from": "gpt", "value": "`git commit {{[-a|--all]}} {{[-m|--message]}} \"{{message}}\"`" } ]
[ { "from": "human", "value": "Commit staged files and sign them with the specified GPG key (or the one defined in the configuration file if no argument is specified) via the `git-commit` command" }, { "from": "gpt", "value": "`git commit {{[-S|--gpg-sign]}} {{key_id}} {{[-m|--message]}} \"{{messa...
[ { "from": "human", "value": "Update the last commit by adding the currently staged changes, changing the commit's hash via the `git-commit` command" }, { "from": "gpt", "value": "`git commit --amend`" } ]
[ { "from": "human", "value": "Commit only specific (already staged) files via the `git-commit` command" }, { "from": "gpt", "value": "`git commit {{path/to/file1 path/to/file2 ...}}`" } ]
[ { "from": "human", "value": "Create a commit, even if there are no staged files via the `git-commit` command" }, { "from": "gpt", "value": "`git commit {{[-m|--message]}} \"{{message}}\" --allow-empty`" } ]
[ { "from": "human", "value": "Tell me about `git commits-since`." }, { "from": "gpt", "value": "Display commits since a time or date.\nPart of `git-extras`.\nMore information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-commits-since>.\n" } ]
[ { "from": "human", "value": "Display commits since yesterday via the `git-commits-since` command" }, { "from": "gpt", "value": "`git commits-since {{yesterday}}`" } ]
[ { "from": "human", "value": "Display commits since last week via the `git-commits-since` command" }, { "from": "gpt", "value": "`git commits-since {{last week}}`" } ]
[ { "from": "human", "value": "Display commits since last month via the `git-commits-since` command" }, { "from": "gpt", "value": "`git commits-since {{last month}}`" } ]
[ { "from": "human", "value": "Display commits since yesterday 2pm via the `git-commits-since` command" }, { "from": "gpt", "value": "`git commits-since {{yesterday 2pm}}`" } ]
[ { "from": "human", "value": "Tell me about `git commit-tree`." }, { "from": "gpt", "value": "Low level utility to create commit objects.\nSee also: `git commit`.\nMore information: <https://git-scm.com/docs/git-commit-tree>.\n" } ]
[ { "from": "human", "value": "Create a commit object with the specified message via the `git-commit-tree` command" }, { "from": "gpt", "value": "`git commit-tree {{tree}} -m \"{{message}}\"`" } ]
[ { "from": "human", "value": "Create a commit object reading the message from a file (use `-` for `stdin`) via the `git-commit-tree` command" }, { "from": "gpt", "value": "`git commit-tree {{tree}} -F {{path/to/file}}`" } ]
[ { "from": "human", "value": "Create a GPG-signed commit object via the `git-commit-tree` command" }, { "from": "gpt", "value": "`git commit-tree {{tree}} -m \"{{message}}\" --gpg-sign`" } ]
[ { "from": "human", "value": "Create a commit object with the specified parent commit object via the `git-commit-tree` command" }, { "from": "gpt", "value": "`git commit-tree {{tree}} -m \"{{message}}\" -p {{parent_commit_sha}}`" } ]
[ { "from": "human", "value": "Tell me about `git config`." }, { "from": "gpt", "value": "Manage custom configuration options for Git repositories.\nThese configurations can be local (for the current repository) or global (for the current user).\nMore information: <https://git-scm.com/docs/git-con...
[ { "from": "human", "value": "Globally set your name or email (this information is required to commit to a repository and will be included in all commits) via the `git-config` command" }, { "from": "gpt", "value": "`git config --global {{user.name|user.email}} \"{{Your Name|email@example.com}}\"`...
[ { "from": "human", "value": "List local, global or system configuration entries and show their file location via the `git-config` command" }, { "from": "gpt", "value": "`git config --list --{{local|global|system}} --show-origin`" } ]
[ { "from": "human", "value": "Set the global value of a given configuration entry (in this case an alias) via the `git-config` command" }, { "from": "gpt", "value": "`git config --global {{alias.unstage}} \"reset HEAD --\"`" } ]
[ { "from": "human", "value": "Get the value of a given configuration entry via the `git-config` command" }, { "from": "gpt", "value": "`git config {{alias.unstage}}`" } ]
[ { "from": "human", "value": "Use an alias via the `git-config` command" }, { "from": "gpt", "value": "`git {{unstage}}`" } ]
[ { "from": "human", "value": "Revert a global configuration entry to its default value via the `git-config` command" }, { "from": "gpt", "value": "`git config --global --unset {{alias.unstage}}`" } ]
[ { "from": "human", "value": "Edit the local Git configuration (`.git/config`) in the default editor via the `git-config` command" }, { "from": "gpt", "value": "`git config --edit`" } ]
[ { "from": "human", "value": "Edit the global Git configuration (`~/.gitconfig` by default or `$XDG_CONFIG_HOME/git/config` if such a file exists) in the default editor via the `git-config` command" }, { "from": "gpt", "value": "`git config --global --edit`" } ]
[ { "from": "human", "value": "Tell me about `git contrib`." }, { "from": "gpt", "value": "Display commits from an author.\nPart of `git-extras`.\nMore information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-contrib>.\n" } ]
[ { "from": "human", "value": "Display all commit hashes and their corresponding commit messages from a specific author via the `git-contrib` command" }, { "from": "gpt", "value": "`git contrib {{author}}`" } ]
[ { "from": "human", "value": "Tell me about `git count`." }, { "from": "gpt", "value": "Print the total number of commits.\nPart of `git-extras`.\nMore information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-count>.\n" } ]
[ { "from": "human", "value": "Print the total number of commits via the `git-count` command" }, { "from": "gpt", "value": "`git count`" } ]
[ { "from": "human", "value": "Print the number of commits per contributor and the total number of commits via the `git-count` command" }, { "from": "gpt", "value": "`git count --all`" } ]
[ { "from": "human", "value": "Tell me about `git count-objects`." }, { "from": "gpt", "value": "Count the number of unpacked objects and their disk consumption.\nMore information: <https://git-scm.com/docs/git-count-objects>.\n" } ]
[ { "from": "human", "value": "Count all objects and display the total disk usage via the `git-count-objects` command" }, { "from": "gpt", "value": "`git count-objects`" } ]
[ { "from": "human", "value": "Display a count of all objects and their total disk usage, displaying sizes in human-readable units via the `git-count-objects` command" }, { "from": "gpt", "value": "`git count-objects --human-readable`" } ]
[ { "from": "human", "value": "Display more verbose information via the `git-count-objects` command" }, { "from": "gpt", "value": "`git count-objects --verbose`" } ]
[ { "from": "human", "value": "Display more verbose information, displaying sizes in human-readable units via the `git-count-objects` command" }, { "from": "gpt", "value": "`git count-objects --human-readable --verbose`" } ]
[ { "from": "human", "value": "Tell me about `git cp`." }, { "from": "gpt", "value": "Copy an existing file to a new location, preserving history.\nPart of `git-extras`.\nMore information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-cp>.\n" } ]
[ { "from": "human", "value": "Copy an existing file in a Git repo, staying in the same directory via the `git-cp` command" }, { "from": "gpt", "value": "`git cp {{file}} {{new_file}}`" } ]
[ { "from": "human", "value": "Copy an existing file in a Git repo and place it elsewhere via the `git-cp` command" }, { "from": "gpt", "value": "`git cp {{path/to/file}} {{path/to/new_file}}`" } ]
[ { "from": "human", "value": "Tell me about `git create-branch`." }, { "from": "gpt", "value": "Create a Git branch in a repository.\nPart of `git-extras`.\nMore information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-create-branch>.\n" } ]
[ { "from": "human", "value": "Create a local branch via the `git-create-branch` command" }, { "from": "gpt", "value": "`git create-branch {{branch_name}}`" } ]
[ { "from": "human", "value": "Create a branch locally and on origin via the `git-create-branch` command" }, { "from": "gpt", "value": "`git create-branch --remote {{branch_name}}`" } ]
[ { "from": "human", "value": "Create a branch locally and on upstream (through forks) via the `git-create-branch` command" }, { "from": "gpt", "value": "`git create-branch --remote upstream {{branch_name}}`" } ]
[ { "from": "human", "value": "Tell me about `git credential-cache`." }, { "from": "gpt", "value": "Git helper to temporarily store passwords in memory.\nMore information: <https://git-scm.com/docs/git-credential-cache>.\n" } ]
[ { "from": "human", "value": "Store Git credentials for a specific amount of time via the `git-credential-cache` command" }, { "from": "gpt", "value": "`git config credential.helper 'cache --timeout={{time_in_seconds}}'`" } ]
[ { "from": "human", "value": "Tell me about `git credential`." }, { "from": "gpt", "value": "Retrieve and store user credentials.\nMore information: <https://git-scm.com/docs/git-credential>.\n" } ]
[ { "from": "human", "value": "Display credential information, retrieving the username and password from configuration files via the `git-credential` command" }, { "from": "gpt", "value": "`echo \"{{url=http://example.com}}\" | git credential fill`" } ]
[ { "from": "human", "value": "Send credential information to all configured credential helpers to store for later use via the `git-credential` command" }, { "from": "gpt", "value": "`echo \"{{url=http://example.com}}\" | git credential approve`" } ]
[ { "from": "human", "value": "Erase the specified credential information from all the configured credential helpers via the `git-credential` command" }, { "from": "gpt", "value": "`echo \"{{url=http://example.com}}\" | git credential reject`" } ]
[ { "from": "human", "value": "Tell me about `git credential-store`." }, { "from": "gpt", "value": "Git helper to store passwords on disk.\nMore information: <https://git-scm.com/docs/git-credential-store>.\n" } ]
[ { "from": "human", "value": "Store Git credentials in a specific file via the `git-credential-store` command" }, { "from": "gpt", "value": "`git config credential.helper 'store --file={{path/to/file}}'`" } ]
[ { "from": "human", "value": "Tell me about `git cvsexportcommit`." }, { "from": "gpt", "value": "Export a single `Git` commit to a CVS checkout.\nMore information: <https://git-scm.com/docs/git-cvsexportcommit>.\n" } ]
[ { "from": "human", "value": "Merge a specific patch into CVS via the `git-cvsexportcommit` command" }, { "from": "gpt", "value": "`git cvsexportcommit -v -c -w {{path/to/project_cvs_checkout}} {{commit_sha1}}`" } ]
[ { "from": "human", "value": "Tell me about `git daemon`." }, { "from": "gpt", "value": "A really simple server for Git repositories.\nMore information: <https://git-scm.com/docs/git-daemon>.\n" } ]
[ { "from": "human", "value": "Launch a Git daemon with a whitelisted set of directories via the `git-daemon` command" }, { "from": "gpt", "value": "`git daemon --export-all {{path/to/directory1}} {{path/to/directory2}}`" } ]
[ { "from": "human", "value": "Launch a Git daemon with a specific base directory and allow pulling from all sub-directories that look like Git repositories via the `git-daemon` command" }, { "from": "gpt", "value": "`git daemon --base-path={{path/to/directory}} --export-all --reuseaddr`" } ]
[ { "from": "human", "value": "Launch a Git daemon for the specified directory, verbosely printing log messages and allowing Git clients to write to it via the `git-daemon` command" }, { "from": "gpt", "value": "`git daemon {{path/to/directory}} --enable=receive-pack --informative-errors --verbose...