Question: i want to commit my changes, but git hangout, when i run

```
git add .

```

i rerun it using -v option, then i get

```
add 'dev/less/module/basic-structure/eo-featured.less'
add 'dev/less/module/page-content/content/.eo-cv.less.swo'

```

am using vim, that's why i guess that .swo file, i don't know what that is, but i don't need it, so i run:

```
git rm dev/less/module/page-content/content/.eo-cv.less.swo

```

the result was

```
fatal: pathspec 'dev/less/module/page-content/content/.eo-cv.less.swo' did not match any files

```

any ideas ?

Answer: 
If the file was never *committed*, `git rm` won't work.

Running `git status` will show you how to properly unstage this file:

```
$ git status
On branch master
Changes to be committed:
  (use "git reset HEAD <file>..." to unstage)
        new file:   dev/less/module/basic-structure/eo-featured.less
        new file:   dev/less/module/page-content/content/.eo-cv.less.swo

```

So `git reset HEAD dev/less/module/page-content/content/.eo-cv.less.swo` should unstage the file.
i solved this problem, which i think is an issue, because using -v option, was not provide me with the information i needed.

the problem was because of a huge file, called ctags, that git was trying to add to the staged area, and its taking too long.

i added it to .gitignore along with .\*.swo files, and the problem was solved.

so if git hangout just check if you have a huge file in your directory.