git_init

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
git_init [2021/06/02 16:08] mguptongit_init [2021/12/31 21:16] (current) – [Powershell] mgupton
Line 2: Line 2:
  
 ==== Powershell ==== ==== Powershell ====
 +
 +=== git-init.ps1 ===
  
 <code powershell> <code powershell>
Line 8: Line 10:
          
     git config --global core.excludesFile ~/.gitignore     git config --global core.excludesFile ~/.gitignore
-    git config user.name "Michael Gupton" +    git config --global user.name "Michael Gupton" 
-    git config user.email mg@infostar.me +    git config --global user.email mg@infostar.me 
-    git commit --allow-empty -m "Initial (empty) commit for bootstrapping the repo."+    git commit --allow-empty -m "Initial commit for bootstrapping the repo."
     git checkout -b working     git checkout -b working
 } }
 </code> </code>
  
  • git_init.1622650106.txt.gz
  • Last modified: 2021/06/02 16:08
  • by mgupton