Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to do git add . with fugitive?

How do you do git add . in Fugitive for vim?

THe command :Git add . is not doing adding anything

like image 453
Hommer Smith Avatar asked Mar 05 '16 09:03

Hommer Smith


2 Answers

I think you are looking for :Gwrite.

The video here explains fugitive and what the command does very well.

like image 86
Philipp Moers Avatar answered Oct 11 '22 11:10

Philipp Moers


I don't know why Git add . doesn't work, but you can use -- to seperate Git add from the path, so Git add -- . does the job.

like image 22
jbr Avatar answered Oct 11 '22 11:10

jbr