public static BranchInfo StartNewFeature(this Flow gitFlow, string nameOfFeature, bool fetchRemoteFirst = false)
        {
            var branch = gitFlow.StartNewBranch(GitFlowSetting.Develop, GitFlowSetting.Feature, nameOfFeature,
                                                fetchRemoteFirst);

            return(new BranchInfo(branch, gitFlow.Prefix.Feature));
        }
Example #2
0
 public static bool StartNewRelease(this Flow gitFlow, string nameOfRelease, bool fetchRemoteFirst = false)
 {
     return(gitFlow.StartNewBranch(GitFlowSetting.Develop, GitFlowSetting.Release, nameOfRelease, fetchRemoteFirst) != null);
 }
 public static bool StartNewHotfix(this Flow gitFlow, string nameOfHotfix, bool fetchRemoteFirst = false)
 {
     return(gitFlow.StartNewBranch(GitFlowSetting.Master, GitFlowSetting.HotFix, nameOfHotfix, fetchRemoteFirst) != null);
 }