conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Grant access to the current Git user's email via the `git-secret` command"
},
{
"from": "gpt",
"value": "`git secret tell -m`"
}
] |
[
{
"from": "human",
"value": "Grant access by email via the `git-secret` command"
},
{
"from": "gpt",
"value": "`git secret tell {{email}}`"
}
] |
[
{
"from": "human",
"value": "Revoke access by email via the `git-secret` command"
},
{
"from": "gpt",
"value": "`git secret killperson {{email}}`"
}
] |
[
{
"from": "human",
"value": "List emails with access to secrets via the `git-secret` command"
},
{
"from": "gpt",
"value": "`git secret whoknows`"
}
] |
[
{
"from": "human",
"value": "Register a secret file via the `git-secret` command"
},
{
"from": "gpt",
"value": "`git secret add {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Encrypt secrets via the `git-secret` command"
},
{
"from": "gpt",
"value": "`git secret hide`"
}
] |
[
{
"from": "human",
"value": "Decrypt secret files via the `git-secret` command"
},
{
"from": "gpt",
"value": "`git secret reveal`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git sed`."
},
{
"from": "gpt",
"value": "Replace patterns in git-controlled files using sed.\nPart of `git-extras`.\nMore information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-sed>.\n"
}
] |
[
{
"from": "human",
"value": "Replace the specified text in the current repository via the `git-sed` command"
},
{
"from": "gpt",
"value": "`git sed '{{find_text}}' '{{replace_text}}'`"
}
] |
[
{
"from": "human",
"value": "Replace the specified text and then commit the resulting changes with a standard commit message via the `git-sed` command"
},
{
"from": "gpt",
"value": "`git sed -c '{{find_text}}' '{{replace_text}}'`"
}
] |
[
{
"from": "human",
"value": "Replace the specified text, using regular expressions via the `git-sed` command"
},
{
"from": "gpt",
"value": "`git sed -f g '{{find_text}}' '{{replace_text}}'`"
}
] |
[
{
"from": "human",
"value": "Replace a specific text in all files under a given directory via the `git-sed` command"
},
{
"from": "gpt",
"value": "`git sed '{{find_text}}' '{{replace_text}}' -- {{path/to/directory}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git send-email`."
},
{
"from": "gpt",
"value": "Send a collection of patches as emails.\nPatches can be specified as files, directions, or a revision list.\nMore information: <https://git-scm.com/docs/git-send-email>.\n"
}
] |
[
{
"from": "human",
"value": "Send the last commit in the current branch interactively via the `git-send-email` command"
},
{
"from": "gpt",
"value": "`git send-email -1`"
}
] |
[
{
"from": "human",
"value": "Send a given commit via the `git-send-email` command"
},
{
"from": "gpt",
"value": "`git send-email -1 {{commit}}`"
}
] |
[
{
"from": "human",
"value": "Send multiple (e.g. 10) commits in the current branch via the `git-send-email` command"
},
{
"from": "gpt",
"value": "`git send-email {{-10}}`"
}
] |
[
{
"from": "human",
"value": "Send an introductory email message for the patch series via the `git-send-email` command"
},
{
"from": "gpt",
"value": "`git send-email -{{number_of_commits}} --compose`"
}
] |
[
{
"from": "human",
"value": "Review and edit the email message for each patch you're about to send via the `git-send-email` command"
},
{
"from": "gpt",
"value": "`git send-email -{{number_of_commits}} --annotate`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git setup`."
},
{
"from": "gpt",
"value": "Create a Git repository in a directory and commit all files.\nPart of `git-extras`.\nMore information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-setup>.\n"
}
] |
[
{
"from": "human",
"value": "Create a Git repository in the current directory and commit all files via the `git-setup` command"
},
{
"from": "gpt",
"value": "`git setup`"
}
] |
[
{
"from": "human",
"value": "Create a Git repository in a specific directory and commit all files via the `git-setup` command"
},
{
"from": "gpt",
"value": "`git setup {{path/to/directory}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git shortlog`."
},
{
"from": "gpt",
"value": "Summarizes the `git log` output.\nMore information: <https://git-scm.com/docs/git-shortlog>.\n"
}
] |
[
{
"from": "human",
"value": "View a summary of all the commits made, grouped alphabetically by author name via the `git-shortlog` command"
},
{
"from": "gpt",
"value": "`git shortlog`"
}
] |
[
{
"from": "human",
"value": "View a summary of all the commits made, sorted by the number of commits made via the `git-shortlog` command"
},
{
"from": "gpt",
"value": "`git shortlog {{[-n|--numbered]}}`"
}
] |
[
{
"from": "human",
"value": "View a summary of all the commits made, grouped by the committer identities (name and email) via the `git-shortlog` command"
},
{
"from": "gpt",
"value": "`git shortlog {{[-c|--committer]}}`"
}
] |
[
{
"from": "human",
"value": "View a summary of the last 5 commits (i.e. specify a revision range) via the `git-shortlog` command"
},
{
"from": "gpt",
"value": "`git shortlog HEAD~5..HEAD`"
}
] |
[
{
"from": "human",
"value": "View all users, emails and the number of commits in the current branch via the `git-shortlog` command"
},
{
"from": "gpt",
"value": "`git shortlog {{[-s|--summary]}} {{[-n|--numbered]}} {{[-e|--email]}}`"
}
] |
[
{
"from": "human",
"value": "View all users, emails and the number of commits in all branches via the `git-shortlog` command"
},
{
"from": "gpt",
"value": "`git shortlog {{[-s|--summary]}} {{[-n|--numbered]}} {{[-e|--email]}} --all`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git show-branch`."
},
{
"from": "gpt",
"value": "Show branches and their commits.\nMore information: <https://git-scm.com/docs/git-show-branch>.\n"
}
] |
[
{
"from": "human",
"value": "Show a summary of the latest commit on a branch via the `git-show-branch` command"
},
{
"from": "gpt",
"value": "`git show-branch {{branch_name|ref|commit}}`"
}
] |
[
{
"from": "human",
"value": "Compare commits in the history of multiple commits or branches via the `git-show-branch` command"
},
{
"from": "gpt",
"value": "`git show-branch {{branch_name1|ref1|commit1 branch_name2|ref2|commit2 ...}}`"
}
] |
[
{
"from": "human",
"value": "Compare all remote tracking branches via the `git-show-branch` command"
},
{
"from": "gpt",
"value": "`git show-branch --remotes`"
}
] |
[
{
"from": "human",
"value": "Compare both local and remote tracking branches via the `git-show-branch` command"
},
{
"from": "gpt",
"value": "`git show-branch --all`"
}
] |
[
{
"from": "human",
"value": "List the latest commits in all branches via the `git-show-branch` command"
},
{
"from": "gpt",
"value": "`git show-branch --all --list`"
}
] |
[
{
"from": "human",
"value": "Compare a given branch with the current branch via the `git-show-branch` command"
},
{
"from": "gpt",
"value": "`git show-branch --current {{commit|branch_name|ref}}`"
}
] |
[
{
"from": "human",
"value": "Display the commit name instead of the relative name via the `git-show-branch` command"
},
{
"from": "gpt",
"value": "`git show-branch --sha1-name --current {{current|branch_name|ref}}`"
}
] |
[
{
"from": "human",
"value": "Keep going a given number of commits past the common ancestor via the `git-show-branch` command"
},
{
"from": "gpt",
"value": "`git show-branch --more {{5}} {{commit|branch_name|ref}} {{commit|branch_name|ref}} {{...}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git show-index`."
},
{
"from": "gpt",
"value": "Show the packed archive index of a Git repository.\nMore information: <https://git-scm.com/docs/git-show-index>.\n"
}
] |
[
{
"from": "human",
"value": "Read an IDX file for a Git packfile and dump its contents to `stdout` via the `git-show-index` command"
},
{
"from": "gpt",
"value": "`git show-index {{path/to/file.idx}}`"
}
] |
[
{
"from": "human",
"value": "Specify the hash algorithm for the index file (experimental) via the `git-show-index` command"
},
{
"from": "gpt",
"value": "`git show-index --object-format={{sha1|sha256}} {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git show`."
},
{
"from": "gpt",
"value": "Show various types of Git objects (commits, tags, etc.).\nMore information: <https://git-scm.com/docs/git-show>.\n"
}
] |
[
{
"from": "human",
"value": "Show information about the latest commit (hash, message, changes, and other metadata) via the `git-show` command"
},
{
"from": "gpt",
"value": "`git show`"
}
] |
[
{
"from": "human",
"value": "Show information about a given commit via the `git-show` command"
},
{
"from": "gpt",
"value": "`git show {{commit}}`"
}
] |
[
{
"from": "human",
"value": "Show information about the commit associated with a given tag via the `git-show` command"
},
{
"from": "gpt",
"value": "`git show {{tag}}`"
}
] |
[
{
"from": "human",
"value": "Show information about the 3rd commit from the HEAD of a branch via the `git-show` command"
},
{
"from": "gpt",
"value": "`git show {{branch}}~{{3}}`"
}
] |
[
{
"from": "human",
"value": "Show a commit's message in a single line, suppressing the diff output via the `git-show` command"
},
{
"from": "gpt",
"value": "`git show --oneline -s {{commit}}`"
}
] |
[
{
"from": "human",
"value": "Show only statistics (added/removed characters) about the changed files via the `git-show` command"
},
{
"from": "gpt",
"value": "`git show --stat {{commit}}`"
}
] |
[
{
"from": "human",
"value": "Show only the list of added, renamed or deleted files via the `git-show` command"
},
{
"from": "gpt",
"value": "`git show --summary {{commit}}`"
}
] |
[
{
"from": "human",
"value": "Show the contents of a file as it was at a given revision (e.g. branch, tag or commit) via the `git-show` command"
},
{
"from": "gpt",
"value": "`git show {{revision}}:{{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git show-merged-branches`."
},
{
"from": "gpt",
"value": "Print all branches which are merged into the current head.\nMore information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-show-merged-branches>.\n"
}
] |
[
{
"from": "human",
"value": "Print all branches which are merged into the current head via the `git-show-merged-branches` command"
},
{
"from": "gpt",
"value": "`git show-merged-branches`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git show-ref`."
},
{
"from": "gpt",
"value": "Git command for listing references.\nMore information: <https://git-scm.com/docs/git-show-ref>.\n"
}
] |
[
{
"from": "human",
"value": "Show all refs in the repository via the `git-show-ref` command"
},
{
"from": "gpt",
"value": "`git show-ref`"
}
] |
[
{
"from": "human",
"value": "Show only heads references via the `git-show-ref` command"
},
{
"from": "gpt",
"value": "`git show-ref --heads`"
}
] |
[
{
"from": "human",
"value": "Show only tags references via the `git-show-ref` command"
},
{
"from": "gpt",
"value": "`git show-ref --tags`"
}
] |
[
{
"from": "human",
"value": "Verify that a given reference exists via the `git-show-ref` command"
},
{
"from": "gpt",
"value": "`git show-ref --verify {{path/to/ref}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git show-tree`."
},
{
"from": "gpt",
"value": "Show a decorated tree graph with all branches of a Git repository, showing annotations.\nPart of `git-extras`.\nMore information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-show-tree>.\n... |
[
{
"from": "human",
"value": "Show a decorated tree graph for all branches annotated with tags and branch names via the `git-show-tree` command"
},
{
"from": "gpt",
"value": "`git show-tree`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git show-unmerged-branches`."
},
{
"from": "gpt",
"value": "Print all branches which are not merged into the current HEAD.\nMore information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-show-unmerged-branches>.\n"
}
] |
[
{
"from": "human",
"value": "Print all branches which are not merged into the current HEAD via the `git-show-unmerged-branches` command"
},
{
"from": "gpt",
"value": "`git show-unmerged-branches`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git sizer`."
},
{
"from": "gpt",
"value": "Computes various Git repository size metrics and alerts you to any that might cause problems or inconvenience.\nMore information: <https://github.com/github/git-sizer>.\n"
}
] |
[
{
"from": "human",
"value": "Report only statistics that have a level of concern greater than 0 via the `git-sizer` command"
},
{
"from": "gpt",
"value": "`git sizer`"
}
] |
[
{
"from": "human",
"value": "Report all statistics via the `git-sizer` command"
},
{
"from": "gpt",
"value": "`git sizer -v`"
}
] |
[
{
"from": "human",
"value": "See additional options via the `git-sizer` command"
},
{
"from": "gpt",
"value": "`git sizer -h`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gitsome`."
},
{
"from": "gpt",
"value": "A terminal-based interface for GitHub, accessed via the `gh` command.\nIt also provides menu-style autocomplete suggestions for `git` commands.\nMore information: <https://github.com/donnemartin/gitsome>.\n"
}... |
[
{
"from": "human",
"value": "Enter the gitsome shell (optional), to enable autocompletion and interactive help for Git (and gh) commands via the `gitsome` command"
},
{
"from": "gpt",
"value": "`gitsome`"
}
] |
[
{
"from": "human",
"value": "Setup GitHub integration with the current account via the `gitsome` command"
},
{
"from": "gpt",
"value": "`gh configure`"
}
] |
[
{
"from": "human",
"value": "List notifications for the current account (as would be seen in <https://github.com/notifications>) via the `gitsome` command"
},
{
"from": "gpt",
"value": "`gh notifications`"
}
] |
[
{
"from": "human",
"value": "List the current account's starred repos, filtered by a given search string via the `gitsome` command"
},
{
"from": "gpt",
"value": "`gh starred \"{{python 3}}\"`"
}
] |
[
{
"from": "human",
"value": "View the recent activity feed of a given GitHub repository via the `gitsome` command"
},
{
"from": "gpt",
"value": "`gh feed {{tldr-pages/tldr}}`"
}
] |
[
{
"from": "human",
"value": "View the recent activity feed for a given GitHub user, using the default pager (e.g. `less`) via the `gitsome` command"
},
{
"from": "gpt",
"value": "`gh feed {{torvalds}} -p`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git squash`."
},
{
"from": "gpt",
"value": "Squash multiple commits into a single commit.\nPart of `git-extras`.\nMore information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-squash>.\n"
}
] |
[
{
"from": "human",
"value": "Merge all commits from a specific branch into the current branch as a single commit via the `git-squash` command"
},
{
"from": "gpt",
"value": "`git squash {{source_branch}}`"
}
] |
[
{
"from": "human",
"value": "Squash all commits starting with a specific commit on the current branch via the `git-squash` command"
},
{
"from": "gpt",
"value": "`git squash {{commit}}`"
}
] |
[
{
"from": "human",
"value": "Squash the `n` latest commits and commit with a message via the `git-squash` command"
},
{
"from": "gpt",
"value": "`git squash HEAD~{{n}} \"{{message}}\"`"
}
] |
[
{
"from": "human",
"value": "Squash the `n` latest commits and commit concatenating all individual messages via the `git-squash` command"
},
{
"from": "gpt",
"value": "`git squash --squash-msg HEAD~{{n}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git stage`."
},
{
"from": "gpt",
"value": "This command is an alias of `git add`.\n"
}
] |
[
{
"from": "human",
"value": "View documentation for the original command via the `git-stage` command"
},
{
"from": "gpt",
"value": "`tldr git add`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git stamp`."
},
{
"from": "gpt",
"value": "Stamp the last commit message, with the possibility to reference the issues numbers from your bug tracker or link to its review page.\nPart of `git-extras`.\nMore information: <https://github.com/tj/git-extras... |
[
{
"from": "human",
"value": "Stamp the last commit message referencing it with the issue number from your bug tracker via the `git-stamp` command"
},
{
"from": "gpt",
"value": "`git stamp {{issue_number}}`"
}
] |
[
{
"from": "human",
"value": "Stamp the last commit message linking it to its review page via the `git-stamp` command"
},
{
"from": "gpt",
"value": "`git stamp {{Review https://example.org/path/to/review}}`"
}
] |
[
{
"from": "human",
"value": "Stamp the last commit message replacing previous issues with a new one via the `git-stamp` command"
},
{
"from": "gpt",
"value": "`git stamp --replace {{issue_number}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git standup`."
},
{
"from": "gpt",
"value": "See commits from a specified user.\nPart of `git-extras`.\nMore information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-standup>.\n"
}
] |
[
{
"from": "human",
"value": "Show a given author's commits from the last 10 days via the `git-standup` command"
},
{
"from": "gpt",
"value": "`git standup -a {{name|email}} -d {{10}}`"
}
] |
[
{
"from": "human",
"value": "Show a given author's commits from the last 10 days and whether they are GPG signed via the `git-standup` command"
},
{
"from": "gpt",
"value": "`git standup -a {{name|email}} -d {{10}} -g`"
}
] |
[
{
"from": "human",
"value": "Show all the commits from all contributors for the last 10 days via the `git-standup` command"
},
{
"from": "gpt",
"value": "`git standup -a all -d {{10}}`"
}
] |
[
{
"from": "human",
"value": "Display help via the `git-standup` command"
},
{
"from": "gpt",
"value": "`git standup -h`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git stash`."
},
{
"from": "gpt",
"value": "Stash local Git changes in a temporary area.\nMore information: <https://git-scm.com/docs/git-stash>.\n"
}
] |
[
{
"from": "human",
"value": "Stash current changes with a message, except new (untracked) files via the `git-stash` command"
},
{
"from": "gpt",
"value": "`git stash push {{[-m|--message]}} {{optional_stash_message}}`"
}
] |
[
{
"from": "human",
"value": "Stash current changes, including new untracked files via the `git-stash` command"
},
{
"from": "gpt",
"value": "`git stash {{[-u|--include-untracked]}}`"
}
] |
[
{
"from": "human",
"value": "Interactively select parts of changed files for stashing via the `git-stash` command"
},
{
"from": "gpt",
"value": "`git stash {{[-p|--patch]}}`"
}
] |
[
{
"from": "human",
"value": "List all stashes (shows stash name, related branch and message) via the `git-stash` command"
},
{
"from": "gpt",
"value": "`git stash list`"
}
] |
[
{
"from": "human",
"value": "Show the changes as a patch between the stash (default is `stash@{0}`) and the commit back when stash entry was first created via the `git-stash` command"
},
{
"from": "gpt",
"value": "`git stash show {{[-p|--patch]}} {{stash@{0}}}`"
}
] |
[
{
"from": "human",
"value": "Apply a stash (default is the latest, named stash@{0}) via the `git-stash` command"
},
{
"from": "gpt",
"value": "`git stash apply {{optional_stash_name_or_commit}}`"
}
] |
[
{
"from": "human",
"value": "Drop or apply a stash (default is stash@{0}) and remove it from the stash list if applying doesn't cause conflicts via the `git-stash` command"
},
{
"from": "gpt",
"value": "`git stash pop {{optional_stash_name}}`"
}
] |
[
{
"from": "human",
"value": "Drop all stashes via the `git-stash` command"
},
{
"from": "gpt",
"value": "`git stash clear`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gitstats`."
},
{
"from": "gpt",
"value": "Git repository statistics generator.\nMore information: <https://gitstats.sourceforge.net>.\n"
}
] |
[
{
"from": "human",
"value": "Generate statistics for a local repository via the `gitstats` command"
},
{
"from": "gpt",
"value": "`gitstats {{path/to/git_repo/.git}} {{path/to/output_folder}}`"
}
] |
[
{
"from": "human",
"value": "View generated statistics in a web browser on Windows (PowerShell)/macOS/Linux via the `gitstats` command"
},
{
"from": "gpt",
"value": "`{{Invoke-Item|open|xdg-open}} {{path/to/output_folder/index.html}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git status`."
},
{
"from": "gpt",
"value": "Show the changes to files in a Git repository.\nLists changed, added and deleted files compared to the currently checked-out commit.\nMore information: <https://git-scm.com/docs/git-status>.\n"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.