update powershell template for new base branch
This commit is contained in:
@ -54,12 +54,14 @@ Fortunately if you regret your gitfiti in the morning, removing it is fairly eas
|
|||||||
gitfiti is released under [The MIT license (MIT)](http://opensource.org/licenses/MIT)
|
gitfiti is released under [The MIT license (MIT)](http://opensource.org/licenses/MIT)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
#### Todo:
|
#### Todo:
|
||||||
- ~~Remove 'requests' dependency~~ [_thanks empathetic-alligator_](https://github.com/empathetic-alligator)
|
- ~~Remove 'requests' dependency~~ [_thanks empathetic-alligator_](https://github.com/empathetic-alligator)
|
||||||
- ~~Web interface~~ See several web-based things below
|
- ~~Web interface~~ See several web-based things below
|
||||||
- ~~Load "art" from a file~~ [_thanks empathetic-alligator_](https://github.com/empathetic-alligator)
|
- ~~Load "art" from a file~~ [_thanks empathetic-alligator_](https://github.com/empathetic-alligator)
|
||||||
- Load commit content from a file
|
- Load commit content from a file
|
||||||
- Text/alphabet option
|
- Text/alphabet option
|
||||||
|
- ~~powershell support!~~ [_thanks axzn_](https://github.com/axzn)
|
||||||
- ...
|
- ...
|
||||||
- Profit?
|
- Profit?
|
||||||
|
|
||||||
|
@ -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'
|
'New-Item gitfiti -ItemType file | Out-Null\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'
|
||||||
)
|
)
|
||||||
|
|
||||||
template = template_bash if shell == 'bash' else template_powershell
|
template = template_bash if shell == 'bash' else template_powershell
|
||||||
|
Reference in New Issue
Block a user