/** * Remove untracked files and directories, including files listed * in the ignore rules. * * @throws hudson.plugins.git.GitException if underlying git operation fails. * @throws java.lang.InterruptedException if interrupted. */ public void clean() throws GitException, InterruptedException { this.clean(false); }
/** {@inheritDoc} */ public void clean() throws GitException, InterruptedException { if (Git.USE_CLI) super.clean(); else jgit.clean(); }