Skip to content

Instantly share code, notes, and snippets.

@mariolopjr
Created April 4, 2020 13:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mariolopjr/4b5535c01b8cbd963411c426a15a184a to your computer and use it in GitHub Desktop.
Save mariolopjr/4b5535c01b8cbd963411c426a15a184a to your computer and use it in GitHub Desktop.
Create environment variable with PowerShell
$SSHPath = (Get-Command -Name 'ssh.exe').Source
[Environment]::SetEnvironmentVariable('GIT_SSH', $SSHPath, 'User')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment