Skip to content

Commit

Permalink
[TestSuite] - init git with master branch (#4025)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuyAfik committed Feb 8, 2024
1 parent a2d5f2b commit 6404079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TestSuite/repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ def create_pack(self, name: Optional[str] = None):

def init_git(self):
if not self.git_util:
GitUtil.REPO_CLS.init(self.path)
GitUtil.REPO_CLS.init(self.path, initial_branch=DEMISTO_GIT_PRIMARY_BRANCH)
self.git_util = GitUtil(self.path)
self.git_util.commit_files("Initial Commit")
self.git_util.repo.create_head(DEMISTO_GIT_PRIMARY_BRANCH)
Expand Down

0 comments on commit 6404079

Please sign in to comment.