git_init

This is an old revision of the document!


Git Init

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.1640984438.txt.gz
  • Last modified: 2021/12/31 21:00
  • by mgupton