gitignore - Ignore some directories in Git -
i have in git repository path :
pir-enio/src/main/java/at/clientside/com/audit/client
i want ignore part:
src/main/java/at/clientside/
because package com.audit.client
.
i wondering put .gitignore
file in order ignore above path
if put in main
.gitignore
going ignore comes after *src*
going ignore /com/audit/client
, not want ignore part.
you can negate excludes like:
pir-enio/* !pir-enio/src/main/java/at/clientside/com/audit/client
but if want this, why didn't started git repository in /com ?
Comments
Post a Comment