It turned out to be a zsh error, not a git issue.
Just opened a new terminal and it worked out..

On Thu, Apr 3, 2014 at 1:21 AM, Konstantin Khomoutov <> wrote:

> On Wed, 2 Apr 2014 15:34:36 -0700 (PDT)
> wrote:
> > I was just doing "git add <filename>"
> > But instead of filename, I pasted some random text.
> > And now when I am doing any git function, it is giving an error
> > "git:160: bad pattern: <my random text> "
> > Number 160 is an example, it is increasing everytime.
> What if you hit Ctrl-c (or Ctrl-Break on Windows) or type Ctrl-d
> (or Ctrl-z on Windows) or input 'q' followed by hitting the Return key?
> Does this help?

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
For more options, visit

Reply via email to