Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| git_init [2021/06/02 12:09] – created mgupton | git_init [2021/12/31 21:16] (current) – [Powershell] mgupton | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Git Init ====== | ====== Git Init ====== | ||
| + | |||
| + | ==== Powershell ==== | ||
| + | |||
| + | === git-init.ps1 === | ||
| + | |||
| <code powershell> | <code powershell> | ||
| if (-not(Test-Path -Path " | if (-not(Test-Path -Path " | ||
| Line 5: | Line 10: | ||
| | | ||
| git config --global core.excludesFile ~/ | git config --global core.excludesFile ~/ | ||
| - | git config user.name " | + | git config |
| - | git config user.email mg@infostar.me | + | git config |
| - | git commit --allow-empty -m " | + | git commit --allow-empty -m " |
| git checkout -b working | git checkout -b working | ||
| } | } | ||
| </ | </ | ||