conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Restart every service via the `gitlab-ctl` command"
},
{
"from": "gpt",
"value": "`sudo gitlab-ctl restart`"
}
] |
[
{
"from": "human",
"value": "Restart a specific service via the `gitlab-ctl` command"
},
{
"from": "gpt",
"value": "`sudo gitlab-ctl restart {{nginx}}`"
}
] |
[
{
"from": "human",
"value": "Display the logs of every service and keep reading until `<Ctrl c>` is pressed via the `gitlab-ctl` command"
},
{
"from": "gpt",
"value": "`sudo gitlab-ctl tail`"
}
] |
[
{
"from": "human",
"value": "Display the logs of a specific service via the `gitlab-ctl` command"
},
{
"from": "gpt",
"value": "`sudo gitlab-ctl tail {{nginx}}`"
}
] |
[
{
"from": "human",
"value": "Send the SIGKILL signal to specific service via the `gitlab-ctl` command"
},
{
"from": "gpt",
"value": "`sudo gitlab-ctl kill {{nginx}}`"
}
] |
[
{
"from": "human",
"value": "Reconfigure the application via the `gitlab-ctl` command"
},
{
"from": "gpt",
"value": "`sudo gitlab-ctl reconfigure`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gitlab`."
},
{
"from": "gpt",
"value": "Ruby wrapper for the GitLab API.\nSome subcommands such as `ctl` have their own usage documentation.\nMore information: <https://narkoz.github.io/gitlab/>.\n"
}
] |
[
{
"from": "human",
"value": "Create a new project via the `gitlab` command"
},
{
"from": "gpt",
"value": "`gitlab create_project {{project_name}}`"
}
] |
[
{
"from": "human",
"value": "Get info about a specific commit via the `gitlab` command"
},
{
"from": "gpt",
"value": "`gitlab commit {{project_name}} {{commit_hash}}`"
}
] |
[
{
"from": "human",
"value": "Get info about jobs in a CI pipeline via the `gitlab` command"
},
{
"from": "gpt",
"value": "`gitlab pipeline_jobs {{project_name}} {{pipeline_id}}`"
}
] |
[
{
"from": "human",
"value": "Start a specific CI job via the `gitlab` command"
},
{
"from": "gpt",
"value": "`gitlab job_play {{project_name}} {{job_id}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gitlab-runner`."
},
{
"from": "gpt",
"value": "Manage GitLab runners.\nMore information: <https://docs.gitlab.com/runner/>.\n"
}
] |
[
{
"from": "human",
"value": "Register a runner via the `gitlab-runner` command"
},
{
"from": "gpt",
"value": "`sudo gitlab-runner register --url {{https://gitlab.example.com}} --registration-token {{token}} --name {{name}}`"
}
] |
[
{
"from": "human",
"value": "Register a runner with a Docker executor via the `gitlab-runner` command"
},
{
"from": "gpt",
"value": "`sudo gitlab-runner register --url {{https://gitlab.example.com}} --registration-token {{token}} --name {{name}} --executor {{docker}}`"
}
] |
[
{
"from": "human",
"value": "Unregister a runner via the `gitlab-runner` command"
},
{
"from": "gpt",
"value": "`sudo gitlab-runner unregister --name {{name}}`"
}
] |
[
{
"from": "human",
"value": "Display the status of the runner service via the `gitlab-runner` command"
},
{
"from": "gpt",
"value": "`sudo gitlab-runner status`"
}
] |
[
{
"from": "human",
"value": "Restart the runner service via the `gitlab-runner` command"
},
{
"from": "gpt",
"value": "`sudo gitlab-runner restart`"
}
] |
[
{
"from": "human",
"value": "Check if the registered runners can connect to GitLab via the `gitlab-runner` command"
},
{
"from": "gpt",
"value": "`sudo gitlab-runner verify`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gitleaks`."
},
{
"from": "gpt",
"value": "Detect secrets and API keys leaked in Git repositories.\nMore information: <https://github.com/gitleaks/gitleaks>.\n"
}
] |
[
{
"from": "human",
"value": "Scan a remote repository via the `gitleaks` command"
},
{
"from": "gpt",
"value": "`gitleaks detect --repo-url {{https://github.com/username/repository.git}}`"
}
] |
[
{
"from": "human",
"value": "Scan a local directory via the `gitleaks` command"
},
{
"from": "gpt",
"value": "`gitleaks detect --source {{path/to/repository}}`"
}
] |
[
{
"from": "human",
"value": "Output scan results to a JSON file via the `gitleaks` command"
},
{
"from": "gpt",
"value": "`gitleaks detect --source {{path/to/repository}} --report {{path/to/report.json}}`"
}
] |
[
{
"from": "human",
"value": "Use a custom rules file via the `gitleaks` command"
},
{
"from": "gpt",
"value": "`gitleaks detect --source {{path/to/repository}} --config-path {{path/to/config.toml}}`"
}
] |
[
{
"from": "human",
"value": "Start scanning from a specific commit via the `gitleaks` command"
},
{
"from": "gpt",
"value": "`gitleaks detect --source {{path/to/repository}} --log-opts {{--since=commit_id}}`"
}
] |
[
{
"from": "human",
"value": "Scan uncommitted changes before a commit via the `gitleaks` command"
},
{
"from": "gpt",
"value": "`gitleaks protect --staged`"
}
] |
[
{
"from": "human",
"value": "Display verbose output indicating which parts were identified as leaks during the scan via the `gitleaks` command"
},
{
"from": "gpt",
"value": "`gitleaks protect --staged --verbose`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git lfs`."
},
{
"from": "gpt",
"value": "Work with large files in Git repositories.\nMore information: <https://git-lfs.com>.\n"
}
] |
[
{
"from": "human",
"value": "Initialize Git LFS via the `git-lfs` command"
},
{
"from": "gpt",
"value": "`git lfs install`"
}
] |
[
{
"from": "human",
"value": "Track files that match a glob via the `git-lfs` command"
},
{
"from": "gpt",
"value": "`git lfs track '{{*.bin}}'`"
}
] |
[
{
"from": "human",
"value": "Change the Git LFS endpoint URL (useful if the LFS server is separate from the Git server) via the `git-lfs` command"
},
{
"from": "gpt",
"value": "`git config {{[-f|--file]}} .lfsconfig lfs.url {{lfs_endpoint_url}}`"
}
] |
[
{
"from": "human",
"value": "List tracked patterns via the `git-lfs` command"
},
{
"from": "gpt",
"value": "`git lfs track`"
}
] |
[
{
"from": "human",
"value": "List tracked files that have been committed via the `git-lfs` command"
},
{
"from": "gpt",
"value": "`git lfs ls-files`"
}
] |
[
{
"from": "human",
"value": "Push all Git LFS objects to the remote server (useful if errors are encountered) via the `git-lfs` command"
},
{
"from": "gpt",
"value": "`git lfs push --all {{remote_name}} {{branch_name}}`"
}
] |
[
{
"from": "human",
"value": "Fetch all Git LFS objects via the `git-lfs` command"
},
{
"from": "gpt",
"value": "`git lfs fetch`"
}
] |
[
{
"from": "human",
"value": "Checkout all Git LFS objects via the `git-lfs` command"
},
{
"from": "gpt",
"value": "`git lfs checkout`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gitlint`."
},
{
"from": "gpt",
"value": "Git commit message linter checks your commit messages for style.\nMore information: <https://jorisroovers.com/gitlint/>.\n"
}
] |
[
{
"from": "human",
"value": "Check the last commit message via the `gitlint` command"
},
{
"from": "gpt",
"value": "`gitlint`"
}
] |
[
{
"from": "human",
"value": "The range of commits to lint via the `gitlint` command"
},
{
"from": "gpt",
"value": "`gitlint --commits {{single_refspec_argument}}`"
}
] |
[
{
"from": "human",
"value": "Path to a directory or Python module with extra user-defined rules via the `gitlint` command"
},
{
"from": "gpt",
"value": "`gitlint --extra-path {{path/to/directory}}`"
}
] |
[
{
"from": "human",
"value": "Start a specific CI job via the `gitlint` command"
},
{
"from": "gpt",
"value": "`gitlint --target {{path/to/target_directory}}`"
}
] |
[
{
"from": "human",
"value": "Path to a file containing a commit-msg via the `gitlint` command"
},
{
"from": "gpt",
"value": "`gitlint --msg-filename {{path/to/filename}}`"
}
] |
[
{
"from": "human",
"value": "Read staged commit meta-info from the local repository via the `gitlint` command"
},
{
"from": "gpt",
"value": "`gitlint --staged`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git local-commits`."
},
{
"from": "gpt",
"value": "Show local commits that haven't been pushed to origin. Any additional arguments will be passed directly to `git log`.\nPart of `git-extras`.\nMore information: <https://github.com/tj/git-extras/blob/ma... |
[
{
"from": "human",
"value": "Show commits that haven't been pushed via the `git-local-commits` command"
},
{
"from": "gpt",
"value": "`git local-commits`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git locked`."
},
{
"from": "gpt",
"value": "List locked files in a Git repository.\nPart of `git-extras`.\nMore information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-locked>.\n"
}
] |
[
{
"from": "human",
"value": "List all local locked files via the `git-locked` command"
},
{
"from": "gpt",
"value": "`git locked`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git lock`."
},
{
"from": "gpt",
"value": "Lock a file in a Git repository from being modified by a commit.\nPart of `git-extras`. See also `git-unlock`.\nMore information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-lock>.\n"
}
] |
[
{
"from": "human",
"value": "Disable the ability to commit changes of a local file via the `git-lock` command"
},
{
"from": "gpt",
"value": "`git lock {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git log`."
},
{
"from": "gpt",
"value": "Show a history of commits.\nMore information: <https://git-scm.com/docs/git-log>.\n"
}
] |
[
{
"from": "human",
"value": "Show the sequence of commits starting from the current one, in reverse chronological order of the Git repository in the current working directory via the `git-log` command"
},
{
"from": "gpt",
"value": "`git log`"
}
] |
[
{
"from": "human",
"value": "Show the history of a particular file or directory, including differences via the `git-log` command"
},
{
"from": "gpt",
"value": "`git log {{[-p|--patch]}} {{path/to/file_or_directory}}`"
}
] |
[
{
"from": "human",
"value": "Show an overview of which file(s) changed in each commit via the `git-log` command"
},
{
"from": "gpt",
"value": "`git log --stat`"
}
] |
[
{
"from": "human",
"value": "Show a graph of commits in the current branch using only the first line of each commit message via the `git-log` command"
},
{
"from": "gpt",
"value": "`git log --oneline --graph`"
}
] |
[
{
"from": "human",
"value": "Show a graph of all commits, tags and branches in the entire repo via the `git-log` command"
},
{
"from": "gpt",
"value": "`git log --oneline --decorate --all --graph`"
}
] |
[
{
"from": "human",
"value": "Show only commits with messages that include a specific string, ignoring case via the `git-log` command"
},
{
"from": "gpt",
"value": "`git log {{[-i|--regexp-ignore-case]}} --grep {{search_string}}`"
}
] |
[
{
"from": "human",
"value": "Show the last N number of commits from a certain author via the `git-log` command"
},
{
"from": "gpt",
"value": "`git log {{[-n|--max-count]}} {{number}} --author \"{{author}}\"`"
}
] |
[
{
"from": "human",
"value": "Show commits between two dates (yyyy-mm-dd) via the `git-log` command"
},
{
"from": "gpt",
"value": "`git log --before \"{{2017-01-29}}\" --after \"{{2017-01-17}}\"`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git ls-files`."
},
{
"from": "gpt",
"value": "Show information about files in the index and the working tree.\nMore information: <https://git-scm.com/docs/git-ls-files>.\n"
}
] |
[
{
"from": "human",
"value": "Show deleted files via the `git-ls-files` command"
},
{
"from": "gpt",
"value": "`git ls-files --deleted`"
}
] |
[
{
"from": "human",
"value": "Show modified and deleted files via the `git-ls-files` command"
},
{
"from": "gpt",
"value": "`git ls-files --modified`"
}
] |
[
{
"from": "human",
"value": "Show ignored and untracked files via the `git-ls-files` command"
},
{
"from": "gpt",
"value": "`git ls-files --others`"
}
] |
[
{
"from": "human",
"value": "Show untracked files, not ignored via the `git-ls-files` command"
},
{
"from": "gpt",
"value": "`git ls-files --others --exclude-standard`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git ls-remote`."
},
{
"from": "gpt",
"value": "Git command for listing references in a remote repository based on name or URL.\nIf no name or URL are given, then the configured upstream branch will be used, or remote origin if the former is not configu... |
[
{
"from": "human",
"value": "Show all references in the default remote repository via the `git-ls-remote` command"
},
{
"from": "gpt",
"value": "`git ls-remote`"
}
] |
[
{
"from": "human",
"value": "Show only heads references in the default remote repository via the `git-ls-remote` command"
},
{
"from": "gpt",
"value": "`git ls-remote --heads`"
}
] |
[
{
"from": "human",
"value": "Show only tags references in the default remote repository via the `git-ls-remote` command"
},
{
"from": "gpt",
"value": "`git ls-remote --tags`"
}
] |
[
{
"from": "human",
"value": "Show all references from a remote repository based on name or URL via the `git-ls-remote` command"
},
{
"from": "gpt",
"value": "`git ls-remote {{repository_url}}`"
}
] |
[
{
"from": "human",
"value": "Show references from a remote repository filtered by a pattern via the `git-ls-remote` command"
},
{
"from": "gpt",
"value": "`git ls-remote {{repository_name}} \"{{pattern}}\"`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git ls-tree`."
},
{
"from": "gpt",
"value": "List the contents of a tree object.\nMore information: <https://git-scm.com/docs/git-ls-tree>.\n"
}
] |
[
{
"from": "human",
"value": "List the contents of the tree on a branch via the `git-ls-tree` command"
},
{
"from": "gpt",
"value": "`git ls-tree {{branch_name}}`"
}
] |
[
{
"from": "human",
"value": "List the contents of the tree on a commit, recursing into subtrees via the `git-ls-tree` command"
},
{
"from": "gpt",
"value": "`git ls-tree -r {{commit_hash}}`"
}
] |
[
{
"from": "human",
"value": "List only the filenames of the tree on a commit via the `git-ls-tree` command"
},
{
"from": "gpt",
"value": "`git ls-tree --name-only {{commit_hash}}`"
}
] |
[
{
"from": "human",
"value": "Print the filenames of the current branch head in a tree structure (Note: `tree --fromfile` is not supported on Windows) via the `git-ls-tree` command"
},
{
"from": "gpt",
"value": "`git ls-tree -r --name-only HEAD | tree --fromfile`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git magic`."
},
{
"from": "gpt",
"value": "Automate add, commit, and push routines.\nPart of `git-extras`.\nMore information: <https://manned.org/git-magic>.\n"
}
] |
[
{
"from": "human",
"value": "Commit changes with a generated message via the `git-magic` command"
},
{
"from": "gpt",
"value": "`git magic`"
}
] |
[
{
"from": "human",
"value": "[a]dd untracked files and commit changes with a generated message via the `git-magic` command"
},
{
"from": "gpt",
"value": "`git magic -a`"
}
] |
[
{
"from": "human",
"value": "Commit changes with a custom [m]essage via the `git-magic` command"
},
{
"from": "gpt",
"value": "`git magic -m \"{{custom_commit_message}}\"`"
}
] |
[
{
"from": "human",
"value": "[e]dit the commit [m]essage before committing via the `git-magic` command"
},
{
"from": "gpt",
"value": "`git magic -em \"{{custom_commit_message}}\"`"
}
] |
[
{
"from": "human",
"value": "Commit changes and [p]ush to remote via the `git-magic` command"
},
{
"from": "gpt",
"value": "`git magic -p`"
}
] |
[
{
"from": "human",
"value": "Commit changes with a [f]orce [p]ush to remote via the `git-magic` command"
},
{
"from": "gpt",
"value": "`git magic -fp`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git mailinfo`."
},
{
"from": "gpt",
"value": "Extract patch and authorship information from a single email message.\nMore information: <https://git-scm.com/docs/git-mailinfo>.\n"
}
] |
[
{
"from": "human",
"value": "Extract the patch and author data from an email message via the `git-mailinfo` command"
},
{
"from": "gpt",
"value": "`git mailinfo {{message|patch}}`"
}
] |
[
{
"from": "human",
"value": "Extract but remove leading and trailing whitespace via the `git-mailinfo` command"
},
{
"from": "gpt",
"value": "`git mailinfo -k {{message|patch}}`"
}
] |
[
{
"from": "human",
"value": "Remove everything from the body before a scissors line (e.g. \"-->* --\") and retrieve the message or patch via the `git-mailinfo` command"
},
{
"from": "gpt",
"value": "`git mailinfo --scissors {{message|patch}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git-maintenance`."
},
{
"from": "gpt",
"value": "Run tasks to optimize Git repository data.\nMore information: <https://git-scm.com/docs/git-maintenance>.\n"
}
] |
[
{
"from": "human",
"value": "Register the current repository in the user's list of repositories to daily have maintenance run via the `git-maintenance` command"
},
{
"from": "gpt",
"value": "`git maintenance register`"
}
] |
[
{
"from": "human",
"value": "Schedule maintenance tasks to run on the current repository every hour via the `git-maintenance` command"
},
{
"from": "gpt",
"value": "`git maintenance start`"
}
] |
[
{
"from": "human",
"value": "Halt the background maintenance schedule for the current repository via the `git-maintenance` command"
},
{
"from": "gpt",
"value": "`git maintenance stop`"
}
] |
[
{
"from": "human",
"value": "Remove the current repository from the user's maintenance repository list via the `git-maintenance` command"
},
{
"from": "gpt",
"value": "`git maintenance unregister`"
}
] |
[
{
"from": "human",
"value": "Run a specific maintenance task on the current repository via the `git-maintenance` command"
},
{
"from": "gpt",
"value": "`git maintenance run --task {{commit-graph|gc|incremental-repack|loose-objects|pack-refs|prefetch}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git`."
},
{
"from": "gpt",
"value": "Distributed version control system.\nSome subcommands such as `commit`, `add`, `branch`, `checkout`, `push`, etc. have their own usage documentation.\nMore information: <https://git-scm.com/>.\n"
}
] |
[
{
"from": "human",
"value": "Execute a Git subcommand via the `git` command"
},
{
"from": "gpt",
"value": "`git {{subcommand}}`"
}
] |
[
{
"from": "human",
"value": "Execute a Git subcommand on a custom repository root path via the `git` command"
},
{
"from": "gpt",
"value": "`git -C {{path/to/repo}} {{subcommand}}`"
}
] |
[
{
"from": "human",
"value": "Execute a Git subcommand with a given configuration set via the `git` command"
},
{
"from": "gpt",
"value": "`git -c '{{config.key}}={{value}}' {{subcommand}}`"
}
] |
[
{
"from": "human",
"value": "Display help via the `git` command"
},
{
"from": "gpt",
"value": "`git --help`"
}
] |
[
{
"from": "human",
"value": "Display help for a specific subcommand (like `clone`, `add`, `push`, `log`, etc.) via the `git` command"
},
{
"from": "gpt",
"value": "`git help {{subcommand}}`"
}
] |
[
{
"from": "human",
"value": "Display version via the `git` command"
},
{
"from": "gpt",
"value": "`git --version`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git merge-base`."
},
{
"from": "gpt",
"value": "Find a common ancestor of two commits.\nMore information: <https://git-scm.com/docs/git-merge-base>.\n"
}
] |
[
{
"from": "human",
"value": "Print the best common ancestor of two commits via the `git-merge-base` command"
},
{
"from": "gpt",
"value": "`git merge-base {{commit_1}} {{commit_2}}`"
}
] |
[
{
"from": "human",
"value": "Print all best common ancestors of two commits via the `git-merge-base` command"
},
{
"from": "gpt",
"value": "`git merge-base --all {{commit_1}} {{commit_2}}`"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.