I
I
i_m_newbie2018-06-13 14:48:00
git
i_m_newbie, 2018-06-13 14:48:00

How to prevent file commit in git?

There is a db file that should be updated from the repository on git pull. But on my commit, this file should be ignored. How to do it right?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Antony, 2018-06-13
@RiseOfDeath

As an option, locally add it to gitignore

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question