Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add settings for GitClean alias #125

Open
steverichey opened this issue Oct 13, 2020 · 1 comment
Open

Add settings for GitClean alias #125

steverichey opened this issue Oct 13, 2020 · 1 comment

Comments

@steverichey
Copy link

I would like to use the GitClean alias to reset most of a repo, with the exception of a build folder. Currently, I don't think Cake.Git supports this. I would recommend a GitCleanSettings object that can be passed to GitClean with properties for the git clean flags.

@nils-a
Copy link
Contributor

nils-a commented Jun 9, 2021

Cake.Git is based on LibGit2Sharp, so we could only provide what LibGit2Sharp enables us to do.
Currently there is no clean in LibGit2Sharp and GitClean uses IRepository.RemoveUntrackedFiles which has no options available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants