M
M
Maybe_V2016-07-14 15:58:40
git
Maybe_V, 2016-07-14 15:58:40

How to change gitignore on the fly?

I have a folder that is ignored app/design/frontend/rwd/and all its contents are also ignored, I did a couple of times push.
But now I need to create a file there vendor.xmlthat should not be ignored.
Made so:
!app/design/frontend/rwd/vendor.xml
But it all the same is ignored! I do git statusbut it is not tracked and git add app/design/frontend/rwd/vendor.xmlalso tried!
What to do in such cases so that the git stops ignoring it?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Maybe_V, 2016-07-14
@prokopov-vi

Solved a problem:
git add -f app/design/frontend/rwd/vendor.xml

#
#algooptimize #bottize, 2016-07-14
@user004

is it
stackoverflow.com/questions/987142/make-gitignore-...
?

A
Andrey, 2016-07-14
@VladimirAndreev

git add app/design/frontend/rwd/vendor.xml

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question