DEV Community

Discussion on: Git commit aborts before I can create a commit message and I use “--wait”

Collapse
 
meg_gutshall profile image
Meg Gutshall • Edited

Got an idea from Stackoverflow -- I figured out how to edit my environment variables by typing open .bash_profile in the terminal and sure enough, my default didn't have the --wait flag on it. I'm attaching a screenshot for visual people.

Screenshot of solution

Collapse
 
iambryanhaney profile image
Bryan Haney

Had the same problem using zsh. Same fix, but the file is .zprofile

Collapse
 
meg_gutshall profile image
Meg Gutshall

Thanks for the comment Bryan! We're covering all the bases here! 😃