Hesse / gitgpt

A natural language command line git assistant
191 stars 11 forks source link

The example in the readme appears to be incorrect, new branch isn't checked out #5

Open vdefender opened 1 year ago

vdefender commented 1 year ago

$ gitgpt create a new branch called feature/test add all the files and commit with msg creating feature test then push to origin Would you like to run the following command:

git branch feature/test git add . git commit -m "creating feature test" git push origin feature/test [y/N]

The result should produce either: git branch -b feature/test

or

git branch feature/test
git checkout feature/test
Hesse commented 1 year ago

Good catch.