git-agent
is a Langchain-based Agent utilizing OpenAI Function calling that enables execution of Git commands using nothing but natural language inputs!
Watch the video below to see it in action!
GitAgentDemo.mp4
- Install
git-agent
pip install git+https://github.com/jupyterjazz/git-agent.git
- Set your OPENAI_API_KEY
export OPENAI_API_KEY=<your key>
Move to any repository you have locally, and ask git-agent
to show diffs, stage/restore files in natural language!
git-agent <your instruction>
In this example, git-agent
will locate files associated with docarray
and provide the corresponding diffs only for those files.