Initializes a project for use with git flow
Examples:
Initialize with the defaults or throw an exception if it's already initialized
JGitFlow flow = JGitFlow.init(new File("some dir"));
Initialize with the defaults or return the instance if it's already initialized
JGitFlow flow = JGitFlow.getOrInit(new File("some dir"));
Initialize with custom overrides or return the instance if it's already initialized
InitContext ctx = new InitContext(); ctx.setMaster("GA"); JGitFlow flow = JGitFlow.getOrInit(new File("some dir"), ctx);
Initialize with custom overrides replacing any existing configuration
InitContext ctx = new InitContext(); ctx.setMaster("GA"); JGitFlow flow = JGitFlow.forceInit(new File("some dir"), ctx);