/bundles/itninjaweb/img/Breadcrumb_cap_w.png
In the GIT project, I have many .sql files in it related to different databases.
Is there anyway I can exclude all the files except the files starting with "Hive_" in my Git Project.
Is there anyway to do so in .gitignore file.

Through .gitignore I can exclude the files list.

But the current requirement is reverse here, I want to exclude everything except files starting with specific characters.
0 Comments   [ - ] Hide Comments

Comments

Please log in to comment

Answer this question or Comment on this question for clarity

Answers

1
Here is the answer:

https://devopsdiaryblog.wordpress.com/2017/07/05/how-to-exclude-all-the-files-except-files-starting-with-a-name-in-the-git-or-github/

Answered 07/05/2017 by: ur00361883
Fifth Degree Brown Belt

Please log in to comment