MergeBranch() public static method

public static MergeBranch ( string branchName ) : void
branchName string
return void
Esempio n. 1
0
    void OnGUI()
    {
        if (branches.Length > 0)
        {
            fromSelection = EditorGUILayout.Popup(fromSelection, branches);

            if (GUILayout.Button("Merge Branch", GUILayout.MaxWidth(100)))
            {
                GitSystem.MergeBranch(branches[fromSelection]);
                Close();
            }
        }
        else
        {
            GUILayout.Label("No existing branches to merge...");
        }
    }