| Declared in | GITBranch.h |
|---|
This class represents objects.GITBranch
Branches are threads of commits in a repository, they refer to the HEAD of a thread.
Repository the branch is part of.
@property GITRepo *repoGITBranch.hRef the branch points to.
@property GITRef *refGITBranch.hFlag indicating if the branch is a remote branch.
@property BOOL remoteGITBranch.h+ (GITBranch *)branchWithName:(NSString *)theName inRepo:(GITRepo *)theRepo Name of the branch
Repository to resolve the branch in
branch initialised with the name specified, or nil if the branch can't be resolved
Creates and returns a branch by the name specified.
The name of the branch is used to resolve the reference for the branch, the resolved reference is used to create the GITBranch.
GITBranch.h+ (GITBranch *)branchFromRef:(GITRef *)theRef GITRef describing the branch
branch initialised with the reference
Creates and returns an autoreleased branch using the reference specified.
GITBranch.h- (id)initFromRef:(GITRef *)theRef GITRef describing the branch
branch initialised with the reference
Creates and returns a branch for the specified reference.
GITBranch.h- (NSString *)namename of the branch
Returns the name of the branch.
GITBranch.h- (GITCommit *)headCommit HEAD of the receiver
Returns the commit which represents the HEAD of the receiver.
GITBranch.hLast updated: 2011-2-20