8 #ifndef _SWITCH_BRANCH_H_     9 #define _SWITCH_BRANCH_H_    13 #include <SupportKit.h> virtual TrackGitWindow * GetWindow()
This returns pointer to the Switch Branch window. 
 
static int GetBranches(BString, vector< BString > &)
This function gets all the branche names in given repository. 
 
virtual void Execute()
SwitchBranch command execution. 
 
static int DoSwitchBranch(BString, BString)
This function creates a new branch in repo with given name. 
 
TrackGitWindow * fSwitchBranchWindow
The Switch Branch Window. 
 
SwitchBranch(BString)
SwitchBranch class constructor. 
 
The TrackGit Window class. 
 
BString fRepo
The repo/directory where command is called. 
 
Switch Branch command Class. 
 
Header file of GitCommand.