Apparently you are looking for the --exclude-vcs-ignores option. See https://www.gnu.org/software/tar/manual/html_node/exclude.html#index-exclude_002dvcs_002dignores
Regards, Sergey
Apparently you are looking for the --exclude-vcs-ignores option. See https://www.gnu.org/software/tar/manual/html_node/exclude.html#index-exclude_002dvcs_002dignores
Regards, Sergey