Skip to content

Commit fb12f08

Browse files
committed
Automation Toolkit Release v2024.2.2
1 parent 2b67f63 commit fb12f08

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cd3_automation_toolkit/user-scripts/createTenancyConfig.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ def update_devops_config(prefix,git_config_file, repo_ssh_url,files_in_repo,dir_
255255

256256
subprocess.run(['git', 'config','--global','user.email',devops_user], cwd=devops_dir)
257257
subprocess.run(['git', 'config', '--global', 'user.name', devops_user], cwd=devops_dir)
258+
subprocess.run(['git', 'config', '--global', 'init.defaultBranch', "main"], cwd=devops_dir)
258259
commit_id='None'
259260
try:
260261
subprocess.run(['git', 'commit', '-m','Initial commit from createTenancyConfig.py'], cwd=devops_dir,stdout=DEVNULL)

0 commit comments

Comments
 (0)