Get "dquote>" when executing "git commit"
date
Aug 3, 2022
slug
get-dquote-when-git-commit
status
Published
tags
Bugfix
Git
summary
type
Post
Problem
When I executed
git commit on the Mac terminal, I got dquote> showed below:
What’s wrong
That was because I used Chinese punctuation mark
” at the end of the commit but not the English style ".Solution
There are two simple ways to fix that problem:
Ctrl+Cto quit editing, but need to re-enter the same command
- Just enter a
"and go ahead