D
D
des1roer2018-12-08 07:46:30
git
des1roer, 2018-12-08 07:46:30

Git pre commit how to track that the file was not included in the commit?

There is a specific situation that there is a file that cannot be added to gitignore, but it cannot be committed either. How to track in a git hook that a file is not in a commit?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
rPman, 2018-12-08
@rPman

exclude .gitignore from commits, and do with it what you want, if you need to publish changes, remove your file from this list, and over again.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question