project_release.git.update_branch
- project_release.git.update_branch(branch: Head, remote: Remote, force_update: bool) None[source]
Update a local git branch.
- Parameters:
branch – The selected branch.
remote – The selected remote.
force_update – Allow forced branch update.
- Raises:
SystemExit – If the tracking branch is invalid or if the branch cannot be updated.