update to support main as primary branch name
This commit is contained in:
@ -322,9 +322,10 @@ def fake_it(image, start_date, username, repo, git_url, offset=0, multiplier=1):
|
|||||||
'touch gitfiti\n'
|
'touch gitfiti\n'
|
||||||
'git add gitfiti\n'
|
'git add gitfiti\n'
|
||||||
'{1}\n'
|
'{1}\n'
|
||||||
|
'git branch -M main\n'
|
||||||
'git remote add origin {2}:{3}/$REPO.git\n'
|
'git remote add origin {2}:{3}/$REPO.git\n'
|
||||||
'git pull origin master\n'
|
'git pull origin main\n'
|
||||||
'git push -u origin master\n'
|
'git push -u origin main\n'
|
||||||
)
|
)
|
||||||
|
|
||||||
strings = []
|
strings = []
|
||||||
|
Reference in New Issue
Block a user