diff --git a/README.md b/README.md index 4f0ff37..ab12d62 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@

OpenCommit

Follow the bird -

Auto-generate meaningful commits in 1 second

+

Auto-generate meaningful commits in a second

Killing lame commits with AI 🤯🔫

Current version

🪩 Winner of GitHub 2023 hackathon 🪩

diff --git a/src/utils/git.ts b/src/utils/git.ts index 43c742d..80afdd8 100644 --- a/src/utils/git.ts +++ b/src/utils/git.ts @@ -75,8 +75,11 @@ export const getChangedFiles = async (): Promise => { export const gitAdd = async ({ files }: { files: string[] }) => { const gitAddSpinner = spinner(); + gitAddSpinner.start('Adding files to commit'); + await execa('git', ['add', ...files]); + gitAddSpinner.stop('Done'); };