A
A
Arhangel_one2019-08-19 19:19:01
git
Arhangel_one, 2019-08-19 19:19:01

How to commit files from src?

The folder contains files and folders such as gitignore, nodemodules, src how to configure git to only commit files from the src folder?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Derepko, 2019-08-19
@Arhangel_one

What for? What about all READMEs, tests, var, docs, public, assets?
By subject:
.gitignore will look something like this

*
!src

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question