Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

git: worktree, add Clean() method for git clean #675

Merged
merged 2 commits into from
Dec 4, 2017

Conversation

darkowlzz
Copy link
Contributor

@darkowlzz darkowlzz commented Dec 4, 2017

This change implement git clean with a Dir option. By default, clean
removes only the untracked files in the working directory. If Dir
option is set to true, untracked files under other directories are also
cleaned.

Depends on fixtures from src-d/go-git-fixtures#9 .

This change implement git clean with a `Dir` option. By default, clean
removes only the untracked files in the working directory. If `Dir`
option is set to true, untracked files under other directories are also
cleaned.
@mcuadros mcuadros merged commit f96d46d into src-d:master Dec 4, 2017
darkowlzz added a commit to darkowlzz/go-git that referenced this pull request Dec 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants