This pull request adds the ability for terminal-copilot to include Git context in the prompt sent to the OpenAI API. The --git flag can be used to enable the inclusion of Git context in the prompt, which may include the current branch name, repository status, recent commit messages, and file history.
This feature can be useful for users working with Git repositories and may help terminal-copilot generate more accurate and targeted terminal commands.
To use this feature, pass the --git flag when calling terminal-copilot.
This pull request adds the ability for terminal-copilot to include Git context in the prompt sent to the OpenAI API. The
--git
flag can be used to enable the inclusion of Git context in the prompt, which may include the current branch name, repository status, recent commit messages, and file history.This feature can be useful for users working with Git repositories and may help terminal-copilot generate more accurate and targeted terminal commands.
To use this feature, pass the
--git
flag when calling terminal-copilot.Let me know what you think of this.