Skip to content

Luanf/gitgpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GitGPT

GitGPT is a small integration that simplifies the process of working with Git by allowing users to generate Git commands using natural language queries.

Demo

Setup

chmod +x install.sh
./install.sh

This will copy gitgpt into your .zshrc file. Modify it accordingly if you are not a zsh user.

Make sure you have the OPENAI_API_KEY environment variable set.

You can do so by running:

export OPENAI_API_KEY=<your key here>

Or by adding the above command to your .zshrc, or whatever other environment variable setup you prefer.

Run

gitgpt <git-related question>

You will be asked to confirm if you want to run the command or not.

Thanks for being here

If you enjoyed this, you might like CliGPT - to get suggestions for general Linux commands.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages