How to do git add . with fugitive?
Asked Answered
D

2

10

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

THe command :Git add . is not doing adding anything

Davisdavison answered 5/3, 2016 at 9:17 Comment(3)
I was just wondering why it doesn't work in the plugin...Davisdavison
Then use the plugin's issue tracker.August
Did you know there is a Stack Exchange Community for vim? Check it out!Accolade
T
4

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.

Tacklind answered 5/3, 2016 at 9:50 Comment(0)
A
15

I think you are looking for :Gwrite.

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

Accolade answered 6/3, 2016 at 1:56 Comment(1)
:Gstatus explained in the linked video is really awesome!Hinduism
T
4

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.

Tacklind answered 5/3, 2016 at 9:50 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.