Reanmed to init-git.ps1

This commit is contained in:
Markus Fleschutz
2020-10-10 17:16:18 +00:00
parent c3c17e48d7
commit e9eddd8070
2 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,7 @@
#!/snap/bin/powershell
# Syntax: ./init_git.ps1
# Description: initializes Git
# Syntax: ./init-git.ps1
# Description: initializes the Git configuration
# Author: Markus Fleschutz
# Source: github.com/fleschutz/PowerShell
# License: CC0
@ -14,7 +14,7 @@ try {
git config --global user.name $UserName
git config --global user.email $UserEmail
git config --global core.editor $UserEditor
echo "Done. Git has been initialized."
echo "Done."
exit 0
} catch { Write-Error $Error[0] }
exit 1