Skip to content

Avoiding committing unwanted files with use_git() #378

@karawoo

Description

@karawoo

I love that use_git() automatically puts .Rhistory, .RData, and .Rproj.user in .gitignore. Because it automatically commits everything else I often end up with other unwanted files in my git history, such as the ever-irritating .DS_Store. Would it be possible to gitignore this file by default as well (though that's potentially confusing for non-Mac users), or maybe for the user to have more control over what gets added to the initial commit?

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions