IT and security stuff

Install Git in PowerShell

I will show you how I use Git in PowerShell.

First, we need to install chocolatey, this will allow us to install traditional Git into PowerShell.

Set-ExecutionPolicy Bypass -Scope Process -Force; iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex
Choco is installed!

Now we can install Git.

choco install git poshgit
Now, Git is installed. Close and reopen PowerShell.
You can configure your account using these commands :
git config --global user.name "account"
git config --global user.email "[email protected]"

Done!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.