conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Check if a commit is an ancestor of a specific commit via the `git-merge-base` command"
},
{
"from": "gpt",
"value": "`git merge-base --is-ancestor {{ancestor_commit}} {{commit}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git merge-into`."
},
{
"from": "gpt",
"value": "Merge one branch into another branch.\nPart of `git-extras`.\nMore information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-merge-into>.\n"
}
] |
[
{
"from": "human",
"value": "Merge a source branch into a specific destination branch via the `git-merge-into` command"
},
{
"from": "gpt",
"value": "`git merge-into {{source_branch}} {{destination_branch}}`"
}
] |
[
{
"from": "human",
"value": "Merge current branch into a specific destination branch via the `git-merge-into` command"
},
{
"from": "gpt",
"value": "`git merge-into {{destination_branch}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git merge`."
},
{
"from": "gpt",
"value": "Merge branches.\nMore information: <https://git-scm.com/docs/git-merge>.\n"
}
] |
[
{
"from": "human",
"value": "Merge a branch into your current branch via the `git-merge` command"
},
{
"from": "gpt",
"value": "`git merge {{branch_name}}`"
}
] |
[
{
"from": "human",
"value": "Edit the merge message via the `git-merge` command"
},
{
"from": "gpt",
"value": "`git merge --edit {{branch_name}}`"
}
] |
[
{
"from": "human",
"value": "Merge a branch and create a merge commit via the `git-merge` command"
},
{
"from": "gpt",
"value": "`git merge --no-ff {{branch_name}}`"
}
] |
[
{
"from": "human",
"value": "Abort a merge in case of conflicts via the `git-merge` command"
},
{
"from": "gpt",
"value": "`git merge --abort`"
}
] |
[
{
"from": "human",
"value": "Merge using a specific strategy via the `git-merge` command"
},
{
"from": "gpt",
"value": "`git merge --strategy {{strategy}} --strategy-option {{strategy_option}} {{branch_name}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git merge-repo`."
},
{
"from": "gpt",
"value": "Merge two repository histories.\nPart of `git-extras`.\nMore information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-merge-repo>.\n"
}
] |
[
{
"from": "human",
"value": "Merge a repository's branch into the current repository's directory via the `git-merge-repo` command"
},
{
"from": "gpt",
"value": "`git merge-repo {{path/to/repo}} {{branch_name}} {{path/to/directory}}`"
}
] |
[
{
"from": "human",
"value": "Merge a remote repository's branch into the current repository's directory, not preserving history via the `git-merge-repo` command"
},
{
"from": "gpt",
"value": "`git merge-repo {{path/to/remote_repo}} {{branch_name}} .`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git mergetool`."
},
{
"from": "gpt",
"value": "Run merge conflict resolution tools to resolve merge conflicts.\nMore information: <https://git-scm.com/docs/git-mergetool>.\n"
}
] |
[
{
"from": "human",
"value": "Launch the default merge tool to resolve conflicts via the `git-mergetool` command"
},
{
"from": "gpt",
"value": "`git mergetool`"
}
] |
[
{
"from": "human",
"value": "List valid merge tools via the `git-mergetool` command"
},
{
"from": "gpt",
"value": "`git mergetool --tool-help`"
}
] |
[
{
"from": "human",
"value": "Launch the merge tool identified by a name via the `git-mergetool` command"
},
{
"from": "gpt",
"value": "`git mergetool --tool {{tool_name}}`"
}
] |
[
{
"from": "human",
"value": "Don't prompt before each invocation of the merge tool via the `git-mergetool` command"
},
{
"from": "gpt",
"value": "`git mergetool --no-prompt`"
}
] |
[
{
"from": "human",
"value": "Explicitly use the GUI merge tool (see the `merge.guitool` configuration variable) via the `git-mergetool` command"
},
{
"from": "gpt",
"value": "`git mergetool --gui`"
}
] |
[
{
"from": "human",
"value": "Explicitly use the regular merge tool (see the `merge.tool` configuration variable) via the `git-mergetool` command"
},
{
"from": "gpt",
"value": "`git mergetool --no-gui`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git missing`."
},
{
"from": "gpt",
"value": "Show commits which aren't shared between two branches.\nPart of `git-extras`.\nMore information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-missing>.\n"
}
] |
[
{
"from": "human",
"value": "Show commits which aren't shared between the currently checked-out branch and another branch via the `git-missing` command"
},
{
"from": "gpt",
"value": "`git missing {{branch}}`"
}
] |
[
{
"from": "human",
"value": "Show commits which aren't shared between two branches via the `git-missing` command"
},
{
"from": "gpt",
"value": "`git missing {{branch_1}} {{branch_2}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git mktree`."
},
{
"from": "gpt",
"value": "Build a tree object using `ls-tree` formatted text.\nMore information: <https://git-scm.com/docs/git-mktree>.\n"
}
] |
[
{
"from": "human",
"value": "Build a tree object and verify that each tree entry’s hash identifies an existing object via the `git-mktree` command"
},
{
"from": "gpt",
"value": "`git mktree`"
}
] |
[
{
"from": "human",
"value": "Allow missing objects via the `git-mktree` command"
},
{
"from": "gpt",
"value": "`git mktree --missing`"
}
] |
[
{
"from": "human",
"value": "Read the NUL ([z]ero character) terminated output of the tree object (`ls-tree -z`) via the `git-mktree` command"
},
{
"from": "gpt",
"value": "`git mktree -z`"
}
] |
[
{
"from": "human",
"value": "Allow the creation of multiple tree objects via the `git-mktree` command"
},
{
"from": "gpt",
"value": "`git mktree --batch`"
}
] |
[
{
"from": "human",
"value": "Sort and build a tree from `stdin` (non-recursive `git ls-tree` output format is required) via the `git-mktree` command"
},
{
"from": "gpt",
"value": "`git mktree < {{path/to/tree.txt}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `gitmoji`."
},
{
"from": "gpt",
"value": "Interactively insert emojis on commits.\nMore information: <https://github.com/carloscuesta/gitmoji-cli>.\n"
}
] |
[
{
"from": "human",
"value": "Start the commit wizard via the `gitmoji` command"
},
{
"from": "gpt",
"value": "`gitmoji --commit`"
}
] |
[
{
"from": "human",
"value": "Initialize the Git hook (so `gitmoji` will be run every time `git commit` is run) via the `gitmoji` command"
},
{
"from": "gpt",
"value": "`gitmoji --init`"
}
] |
[
{
"from": "human",
"value": "Remove the Git hook via the `gitmoji` command"
},
{
"from": "gpt",
"value": "`gitmoji --remove`"
}
] |
[
{
"from": "human",
"value": "List all available emojis and their descriptions via the `gitmoji` command"
},
{
"from": "gpt",
"value": "`gitmoji --list`"
}
] |
[
{
"from": "human",
"value": "Search emoji list for a list of keywords via the `gitmoji` command"
},
{
"from": "gpt",
"value": "`gitmoji --search {{keyword1}} {{keyword2}}`"
}
] |
[
{
"from": "human",
"value": "Update cached list of emojis from main repository via the `gitmoji` command"
},
{
"from": "gpt",
"value": "`gitmoji --update`"
}
] |
[
{
"from": "human",
"value": "Configure global preferences via the `gitmoji` command"
},
{
"from": "gpt",
"value": "`gitmoji --config`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git mr`."
},
{
"from": "gpt",
"value": "Check out GitLab merge requests locally.\nPart of `git-extras`.\nMore information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-mr>.\n"
}
] |
[
{
"from": "human",
"value": "Check out a specific merge request via the `git-mr` command"
},
{
"from": "gpt",
"value": "`git mr {{mr_number}}`"
}
] |
[
{
"from": "human",
"value": "Check out a merge request from a specific remote via the `git-mr` command"
},
{
"from": "gpt",
"value": "`git mr {{mr_number}} {{remote}}`"
}
] |
[
{
"from": "human",
"value": "Checkout a merge request from its URL via the `git-mr` command"
},
{
"from": "gpt",
"value": "`git mr {{url}}`"
}
] |
[
{
"from": "human",
"value": "Clean up old merge request branches via the `git-mr` command"
},
{
"from": "gpt",
"value": "`git mr clean`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git mv`."
},
{
"from": "gpt",
"value": "Move or rename files and update the Git index.\nMore information: <https://git-scm.com/docs/git-mv>.\n"
}
] |
[
{
"from": "human",
"value": "Move a file inside the repo and add the movement to the next commit via the `git-mv` command"
},
{
"from": "gpt",
"value": "`git mv {{path/to/file}} {{new/path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Rename a file or directory and add the renaming to the next commit via the `git-mv` command"
},
{
"from": "gpt",
"value": "`git mv {{path/to/file_or_directory}} {{path/to/destination}}`"
}
] |
[
{
"from": "human",
"value": "Overwrite the file or directory in the target path if it exists via the `git-mv` command"
},
{
"from": "gpt",
"value": "`git mv --force {{path/to/file_or_directory}} {{path/to/destination}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git notes`."
},
{
"from": "gpt",
"value": "Add or inspect object notes.\nMore information: <https://git-scm.com/docs/git-notes>.\n"
}
] |
[
{
"from": "human",
"value": "List all notes and the objects they are attached to via the `git-notes` command"
},
{
"from": "gpt",
"value": "`git notes list`"
}
] |
[
{
"from": "human",
"value": "List all notes attached to a given object (defaults to HEAD) via the `git-notes` command"
},
{
"from": "gpt",
"value": "`git notes list [{{object}}]`"
}
] |
[
{
"from": "human",
"value": "Show the notes attached to a given object (defaults to HEAD) via the `git-notes` command"
},
{
"from": "gpt",
"value": "`git notes show [{{object}}]`"
}
] |
[
{
"from": "human",
"value": "Append a note to a specified object (opens the default text editor) via the `git-notes` command"
},
{
"from": "gpt",
"value": "`git notes append {{object}}`"
}
] |
[
{
"from": "human",
"value": "Append a note to a specified object, specifying the message via the `git-notes` command"
},
{
"from": "gpt",
"value": "`git notes append --message=\"{{message_text}}\"`"
}
] |
[
{
"from": "human",
"value": "Edit an existing note (defaults to HEAD) via the `git-notes` command"
},
{
"from": "gpt",
"value": "`git notes edit [{{object}}]`"
}
] |
[
{
"from": "human",
"value": "Copy a note from one object to another via the `git-notes` command"
},
{
"from": "gpt",
"value": "`git notes copy {{source_object}} {{target_object}}`"
}
] |
[
{
"from": "human",
"value": "Remove all the notes added to a specified object via the `git-notes` command"
},
{
"from": "gpt",
"value": "`git notes remove {{object}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git obliterate`."
},
{
"from": "gpt",
"value": "Delete files and erase their history from a Git repository.\nPart of `git-extras`.\nMore information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-obliterate>.\n"
}
] |
[
{
"from": "human",
"value": "Erase the existence of specific files via the `git-obliterate` command"
},
{
"from": "gpt",
"value": "`git obliterate {{file_1 file_2 ...}}`"
}
] |
[
{
"from": "human",
"value": "Erase the existence of specific files between 2 commits via the `git-obliterate` command"
},
{
"from": "gpt",
"value": "`git obliterate {{file_1 file_2 ...}} -- {{commit_hash_1}}..{{commit_hash_2}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git paste`."
},
{
"from": "gpt",
"value": "Send commits to a pastebin site using `pastebinit`.\nPart of `git-extras`.\nMore information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-paste>.\n"
}
] |
[
{
"from": "human",
"value": "Send the patches between the current branch and its upstream to a pastebin using `pastebinit` via the `git-paste` command"
},
{
"from": "gpt",
"value": "`git paste`"
}
] |
[
{
"from": "human",
"value": "Pass options to `git format-patch` in order to select a different set of commits (`@^` selects the parent of HEAD, and so the currently checked out commit is sent) via the `git-paste` command"
},
{
"from": "gpt",
"value": "`git paste {{@^}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git pr`."
},
{
"from": "gpt",
"value": "Check out GitHub pull requests locally.\nPart of `git-extras`.\nMore information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-pr>.\n"
}
] |
[
{
"from": "human",
"value": "Check out a specific pull request via the `git-pr` command"
},
{
"from": "gpt",
"value": "`git pr {{pr_number}}`"
}
] |
[
{
"from": "human",
"value": "Check out a pull request from a specific remote via the `git-pr` command"
},
{
"from": "gpt",
"value": "`git pr {{pr_number}} {{remote}}`"
}
] |
[
{
"from": "human",
"value": "Check out a pull request from its URL via the `git-pr` command"
},
{
"from": "gpt",
"value": "`git pr {{url}}`"
}
] |
[
{
"from": "human",
"value": "Clean up old pull request branches via the `git-pr` command"
},
{
"from": "gpt",
"value": "`git pr clean`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git prune`."
},
{
"from": "gpt",
"value": "Git command for pruning all unreachable objects from the object database.\nThis command is often not used directly but as an internal command that is used by Git gc.\nMore information: <https://git-scm.com/doc... |
[
{
"from": "human",
"value": "Report what would be removed by Git prune without removing it via the `git-prune` command"
},
{
"from": "gpt",
"value": "`git prune --dry-run`"
}
] |
[
{
"from": "human",
"value": "Prune unreachable objects and display what has been pruned to `stdout` via the `git-prune` command"
},
{
"from": "gpt",
"value": "`git prune --verbose`"
}
] |
[
{
"from": "human",
"value": "Prune unreachable objects while showing progress via the `git-prune` command"
},
{
"from": "gpt",
"value": "`git prune --progress`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git psykorebase`."
},
{
"from": "gpt",
"value": "Rebase a branch on top of another using a merge commit and only one conflict handling.\nPart of `git-extras`.\nMore information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-psykorebase>... |
[
{
"from": "human",
"value": "Rebase the current branch on top of another using a merge commit and only one conflict handling via the `git-psykorebase` command"
},
{
"from": "gpt",
"value": "`git psykorebase {{upstream_branch}}`"
}
] |
[
{
"from": "human",
"value": "Continue after conflicts have been handled via the `git-psykorebase` command"
},
{
"from": "gpt",
"value": "`git psykorebase --continue`"
}
] |
[
{
"from": "human",
"value": "Specify the branch to rebase via the `git-psykorebase` command"
},
{
"from": "gpt",
"value": "`git psykorebase {{upstream_branch}} {{target_branch}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git pull`."
},
{
"from": "gpt",
"value": "Fetch branch from a remote repository and merge it to local repository.\nMore information: <https://git-scm.com/docs/git-pull>.\n"
}
] |
[
{
"from": "human",
"value": "Download changes from default remote repository and merge it via the `git-pull` command"
},
{
"from": "gpt",
"value": "`git pull`"
}
] |
[
{
"from": "human",
"value": "Download changes from default remote repository and use fast-forward via the `git-pull` command"
},
{
"from": "gpt",
"value": "`git pull {{[-r|--rebase]}}`"
}
] |
[
{
"from": "human",
"value": "Download changes from given remote repository and branch, then merge them into HEAD via the `git-pull` command"
},
{
"from": "gpt",
"value": "`git pull {{remote_name}} {{branch}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git pull-request`."
},
{
"from": "gpt",
"value": "Create a pull request for a project on GitHub.\nPart of `git-extras`.\nMore information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-pull-request>.\n"
}
] |
[
{
"from": "human",
"value": "Create a pull request for a project on GitHub via the `git-pull-request` command"
},
{
"from": "gpt",
"value": "`git pull-request {{target_branch}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git push`."
},
{
"from": "gpt",
"value": "Push commits to a remote repository.\nMore information: <https://git-scm.com/docs/git-push>.\n"
}
] |
[
{
"from": "human",
"value": "Send local changes in the current branch to its default remote counterpart via the `git-push` command"
},
{
"from": "gpt",
"value": "`git push`"
}
] |
[
{
"from": "human",
"value": "Send changes from a specific local branch to its remote counterpart via the `git-push` command"
},
{
"from": "gpt",
"value": "`git push {{remote_name}} {{local_branch}}`"
}
] |
[
{
"from": "human",
"value": "Send changes from a specific local branch to its remote counterpart, and set the remote one as the default push/pull target of the local one via the `git-push` command"
},
{
"from": "gpt",
"value": "`git push {{[-u|--set-upstream]}} {{remote_name}} {{local_branch}}`"... |
[
{
"from": "human",
"value": "Send changes from a specific local branch to a specific remote branch via the `git-push` command"
},
{
"from": "gpt",
"value": "`git push {{remote_name}} {{local_branch}}:{{remote_branch}}`"
}
] |
[
{
"from": "human",
"value": "Send changes on all local branches to their counterparts in a given remote repository via the `git-push` command"
},
{
"from": "gpt",
"value": "`git push --all {{remote_name}}`"
}
] |
[
{
"from": "human",
"value": "Delete a branch in a remote repository via the `git-push` command"
},
{
"from": "gpt",
"value": "`git push {{remote_name}} {{[-d|--delete]}} {{remote_branch}}`"
}
] |
[
{
"from": "human",
"value": "Remove remote branches that don't have a local counterpart via the `git-push` command"
},
{
"from": "gpt",
"value": "`git push --prune {{remote_name}}`"
}
] |
[
{
"from": "human",
"value": "Publish tags that aren't yet in the remote repository via the `git-push` command"
},
{
"from": "gpt",
"value": "`git push --tags`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git range-diff`."
},
{
"from": "gpt",
"value": "Compare two commit ranges (e.g. two versions of a branch).\nMore information: <https://git-scm.com/docs/git-range-diff>.\n"
}
] |
[
{
"from": "human",
"value": "Diff the changes of two individual commits via the `git-range-diff` command"
},
{
"from": "gpt",
"value": "`git range-diff {{commit_1}}^! {{commit_2}}^!`"
}
] |
[
{
"from": "human",
"value": "Diff the changes of ours and theirs from their common ancestor, e.g. after an interactive rebase via the `git-range-diff` command"
},
{
"from": "gpt",
"value": "`git range-diff {{theirs}}...{{ours}}`"
}
] |
[
{
"from": "human",
"value": "Diff the changes of two commit ranges, e.g. to check whether conflicts have been resolved appropriately when rebasing commits from `base1` to `base2` via the `git-range-diff` command"
},
{
"from": "gpt",
"value": "`git range-diff {{base1}}..{{rev1}} {{base2}}..{{rev2... |
[
{
"from": "human",
"value": "Tell me about `git reauthor`."
},
{
"from": "gpt",
"value": "Change details about an author identity. 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": "Change an author's email and name across the whole Git repository via the `git-reauthor` command"
},
{
"from": "gpt",
"value": "`git reauthor --old-email {{old@example.com}} --correct-email {{new@example.com}} --correct-name \"{{name}}\"`"
}
] |
[
{
"from": "human",
"value": "Change the email and name to the ones defined in the Git config via the `git-reauthor` command"
},
{
"from": "gpt",
"value": "`git reauthor --old-email {{old@example.com}} --use-config`"
}
] |
[
{
"from": "human",
"value": "Change the email and name of all commits, regardless of their original author via the `git-reauthor` command"
},
{
"from": "gpt",
"value": "`git reauthor --all --correct-email {{name@example.com}} --correct-name {{name}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `git rebase`."
},
{
"from": "gpt",
"value": "Reapply commits from one branch on top of another branch.\nCommonly used to \"move\" an entire branch to another base, creating copies of the commits in the new location.\nMore information: <https://git-scm.c... |
[
{
"from": "human",
"value": "Rebase the current branch on top of another specified branch via the `git-rebase` command"
},
{
"from": "gpt",
"value": "`git rebase {{new_base_branch}}`"
}
] |
[
{
"from": "human",
"value": "Start an interactive rebase, which allows the commits to be reordered, omitted, combined or modified via the `git-rebase` command"
},
{
"from": "gpt",
"value": "`git rebase {{[-i|--interactive]}} {{target_base_branch_or_commit_hash}}`"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.