Skip to content

does not ignore hidden files and .git. #2

@kinged007

Description

@kinged007

Hello, I am using this script to copy/build files to local server to demo. Its great thank you! Unfortunately, I can not get the EXCLUDE to work correctly, I am trying to exclude hidden files, particularly .git directory. At the moment it is transferring (using rsync) all files in the .git folder, which is not necessary.

My line is:
EXCLUDE: ^(./)?., .git/*

Any advice?
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions