I am using a macbook air M2, when I clicked commit the previous time my computer showed me some warning which I didn't read and clicked OK now the commit button is greyed out.
Is there a way I can undo the change or a settings option which i can go to
did you try this commands on terminal :
git add .
git commit m-'your commit '
git push