Cake_Git icon indicating copy to clipboard operation
Cake_Git copied to clipboard

Add settings for GitClean alias

Open steverichey opened this issue 5 years ago • 1 comments

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.

steverichey avatar Oct 13 '20 13:10 steverichey

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.

nils-a avatar Jun 09 '21 21:06 nils-a