Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git commit is taking a long time

Tags:

git

I used the following commands in this order:

git pull origin master

git add .

git commit -m 'my third commit'

And then my Git Shell just shows these characters: >> _ with the underscore flashing. It's been like this for 10 minutes, whats going on?

like image 407
Ogen Avatar asked Apr 08 '26 22:04

Ogen


1 Answers

From your other comment, it looks like you're using Powershell.

The >> means that there's an unmatched quotation, parentheses, or other character requiring a match. Git has not yet been executed.

Press Control-C. Look at your commit message. Does it include " or ' or some other special character? If so, take it out or properly escape it.

like image 86
Lawrence Craft Avatar answered Apr 11 '26 11:04

Lawrence Craft