public GitCommitResponse commit ( String comment ) throws IOException , JavaGitException { GitCommit gitCommit = new GitCommit ( ) ; return gitCommit . commit ( path , comment ) ; }
Commits the objects specified in the index to the repository .