update powershell template for new base branch

This commit is contained in:
Eric Romano
2020-12-09 21:39:28 -05:00
parent 6d8cc28ca8
commit 1b213dc2fa
2 changed files with 5 additions and 2 deletions

View File

@ -350,9 +350,10 @@ def fake_it(image, start_date, username, repo, git_url, shell, offset=0, multipl
'New-Item gitfiti -ItemType file | Out-Null\n'
'git add gitfiti\n'
'{1}\n'
'git branch -M main\n'
'git remote add origin {2}:{3}/$REPO.git\n'
'git pull origin master\n'
'git push -u origin master\n'
'git pull origin main\n'
'git push -u origin main\n'
)
template = template_bash if shell == 'bash' else template_powershell