File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 <h1 align="center">OpenCommit</h1>
55 <h4 align="center">Follow the bird <a href="https://twitter.com/_sukharev_"><img src="https://img.shields.io/twitter/follow/_sukharev_?style=flat&label=_sukharev_&logo=twitter&color=0bf&logoColor=fff" align="center"></a>
66 </div >
7- <h2>Auto-generate meaningful commits in 1 second</h2>
7+ <h2>Auto-generate meaningful commits in a second</h2>
88 <p>Killing lame commits with AI 🤯🔫</p>
99 <a href="https://www.npmjs.com/package/opencommit"><img src="https://img.shields.io/npm/v/opencommit" alt="Current version"></a>
1010 <h4 align =" center " >🪩 Winner of <a href =" https://twitter.com/_sukharev_/status/1683448136973582336 " >GitHub 2023 hackathon</a > 🪩</h4 >
Original file line number Diff line number Diff line change @@ -75,8 +75,11 @@ export const getChangedFiles = async (): Promise<string[]> => {
7575
7676export const gitAdd = async ( { files } : { files : string [ ] } ) => {
7777 const gitAddSpinner = spinner ( ) ;
78+
7879 gitAddSpinner . start ( 'Adding files to commit' ) ;
80+
7981 await execa ( 'git' , [ 'add' , ...files ] ) ;
82+
8083 gitAddSpinner . stop ( 'Done' ) ;
8184} ;
8285
You can’t perform that action at this time.
0 commit comments