9

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

THe command :Git add . is not doing adding anything

Hommer Smith
  • 26,772
  • 56
  • 167
  • 296

2 Answers2

14

I think you are looking for :Gwrite.

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

Philipp Moers
  • 570
  • 3
  • 15
3

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.

jbr
  • 6,198
  • 3
  • 30
  • 42