We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdc7297 commit adb9ae3Copy full SHA for adb9ae3
Functions.ps1
@@ -299,9 +299,9 @@ function Write-GitConfigLocal {
299
$gitUserName = (gum input --prompt="Input Git Name: " --placeholder="Your Name")
300
$gitUserMail = (gum input --prompt="Input Git Email: " --placeholder="youremail@domain.com")
301
302
- Write-Output "[user]" >> "$Path"
303
- Write-Output " $gitUserName" >> "$Path"
304
- Write-Output " $gitUserMail" >> "$Path"
+ "[user]" | Out-File -FilePath "$Path" -Append
+ " $gitUserName" | Out-File -FilePath "$Path" -Append
+ " $gitUserMail" | Out-File -FilePath "$Path" -Append
305
Write-PrettyInfo -Message "Git Email and Name set successfully in" -Info "$Path"
306
}
307
0 commit comments