git_init

Git Init

git-init.ps1

if (-not(Test-Path -Path ".\.git")) {
    git init
 
    git config --global core.excludesFile ~/.gitignore
    git config --global user.name "Michael Gupton"
    git config --global user.email mg@infostar.me
    git commit --allow-empty -m "Initial commit for bootstrapping the repo."
    git checkout -b working
}
  • git_init.txt
  • Last modified: 2021/12/31 21:16
  • by mgupton