mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 09:44:59 +00:00
copy
This commit is contained in:
parent
843c51c35e
commit
9f7f6607c2
1 changed files with 5 additions and 3 deletions
|
@ -3,7 +3,9 @@
|
|||
`aider` is a command-line chat tool that allows you to write and edit
|
||||
code with OpenAI's GPT models. You can ask GPT to help you start
|
||||
a new project, or modify code in your existing git repo.
|
||||
Aider makes it easy to git commit, diff & undo changes proposed by GPT without copy/pasting.
|
||||
Aider makes it easy to
|
||||
[git commit, diff & undo changes](https://aider.chat/docs/faq.html#how-does-aider-use-git)
|
||||
proposed by GPT without copy/pasting.
|
||||
It also has features that [help GPT-4 understand and modify larger codebases](https://aider.chat/docs/ctags.html).
|
||||
|
||||

|
||||
|
@ -56,7 +58,7 @@ You can find more chat transcripts on the [examples page](https://aider.chat/exa
|
|||
* Chat with GPT about your code by launching `aider` from the command line with set of source files to discuss and edit together. Aider lets GPT see and edit the content of those files.
|
||||
* Request new features, changes, improvements, or bug fixes to your code. Ask for new test cases, updated documentation or code refactors.
|
||||
* Aider will apply the edits suggested by GPT directly to your source files.
|
||||
* Aider will automatically commit each changeset to your local git repo with a descriptive commit message. These frequent, automatic commits provide a safety net. It's easy to undo changes or use standard git workflows to manage longer sequences of changes.
|
||||
* Aider will [automatically commit each changeset to your local git repo](https://aider.chat/docs/faq.html#how-does-aider-use-git) with a descriptive commit message. These frequent, automatic commits provide a safety net. It's easy to undo changes or use standard git workflows to manage longer sequences of changes.
|
||||
* You can use aider with multiple source files at once, so GPT can make coordinated code changes across all of them in a single changeset/commit.
|
||||
* Aider can [give *GPT-4* a map of your entire git repo](https://aider.chat/docs/ctags.html), which helps it understand and modify large codebases.
|
||||
* You can also edit files by hand using your editor while chatting with aider. Aider will notice these out-of-band edits and ask if you'd like to commit them. This lets you bounce back and forth between the aider chat and your editor, to collaboratively code with GPT.
|
||||
|
@ -115,7 +117,7 @@ Aider has some ability to help GPT figure out which files to edit all by itself,
|
|||
* Enter a multiline chat message by entering `{` alone on the first line. End the multiline message with `}` alone on the last line.
|
||||
* If your code is throwing an error, share the error output with GPT using `/run` or by pasting it into the chat. Let GPT figure out and fix the bug.
|
||||
* GPT knows about a lot of standard tools and libraries, but may get some of the fine details wrong about APIs and function arguments. You can paste doc snippets into the chat to resolve these issues.
|
||||
* Aider will notice if you launch it on a git repo with uncommitted changes and offer to commit them before proceeding.
|
||||
* [Aider will notice if you launch it on a git repo with uncommitted changes and offer to commit them before proceeding](https://aider.chat/docs/faq.html#how-does-aider-use-git).
|
||||
* GPT can only see the content of the files you specifically "add to the chat". Aider also sends GPT-4 a [map of your entire git repo](https://aider.chat/docs/ctags.html). So GPT may ask to see additional files if it feels that's needed for your requests.
|
||||
* I also shared some general [GPT coding tips on Hacker News](https://news.ycombinator.com/item?id=36211879).
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue