refs #3767 -- fix branch

pull/118/head
Vadim vtroshchinskiy 2025-09-10 10:15:33 +02:00
parent 199dd353c3
commit 240613ca31
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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):