Posted almost 8 years ago. Visible to the public. Repeats. Linked content.

Ignore subfolder in git tree

If you want to ignore subfolder in git tree you may add this folder in .gitignore file in root directory, or just create .gitignore file in that folder with content:

# Ignore everything in this directory * # Except this file !.gitignore

Owner of this card:

Last edit:
over 3 years ago
by konjoot
Posted by konjoot to wiki
This website uses short-lived cookies to improve usability.
Accept or learn more