diff --git a/CHANGELOG.md b/CHANGELOG.md index 47aa681..23c3afe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.4.7] - 2025-09-10 + +## Change + +- Oggit branch fix + + ## [1.4.6] - 2025-09-10 ## Change diff --git a/ogclient/lib/python3/GitLib/__init__.py b/ogclient/lib/python3/GitLib/__init__.py index 1a24762..32e0c21 100755 --- a/ogclient/lib/python3/GitLib/__init__.py +++ b/ogclient/lib/python3/GitLib/__init__.py @@ -1739,8 +1739,8 @@ class OpengnsysGitLibrary: origin = repo.remotes.origin origin.push(refspec=f"{name}:{name}") new_branch.set_tracking_branch(origin.refs[name]) + new_branch.checkout() - repo.head.reset(index=True, working_tree=True) return True def push(self, path = None, device = None, force = False):