ScriptGitBranch¶
- class ScriptGitBranch.ScriptGitBranch¶
- Bases: - AbstractScriptGitElementWrapper class around _3S.CoDeSys.Git.GitIntegration.IGitBranch.- __str__() str¶
- See “git branch” command
 - __eq__(other: ScriptGitBranch) bool¶
- Python magic method __eq__
 - __ne__(other: ScriptGitBranch) bool¶
- Python magic method __ne__
 - __hash__() int¶
- Python magic method __hash__
 - property canonical_name: str¶
- Gets the canonical name of the branch.
 - property friendly_name: str¶
- Gets the friendly name of the branch.
 - property is_current_repository_head: bool¶
- Returns true, if the branch is the current branch.
 - property is_remote: bool¶
- Returns true, if the branch is a remote branch.
 - property is_tracking: bool¶
- Returns true, if the branch tracks a remote branche.
 - property remote_name: str¶
- Gets the name of the remote, if the branch is a remote branch.
 - property upstream_branch_canonical_name: str¶
- Gets the upstream canonical name of a tracked branch.
 - property tracked_branch: ScriptGitBranch¶
- Gets the tracked branch object.