Skip to content

Instantly share code, notes, and snippets.

@jarrpa
Created July 15, 2022 15:18
Show Gist options
  • Save jarrpa/93ca8134aeb00f6c01afcaf4670fb0f7 to your computer and use it in GitHub Desktop.
Save jarrpa/93ca8134aeb00f6c01afcaf4670fb0f7 to your computer and use it in GitHub Desktop.
Windows Terminal Notes
$SSHAgentSvc = Get-Service -Name ‘ssh-agent’
Set-Service -Name $SSHAgentSvc.Name -StartupType Automatic
Start-Service -Name $SSHAgentSvc.Name
ssh-add
Get-Content -Path $HOME\.ssh\id_rsa.pub | Set-Clipboard
Start-Process ‘https://github.com/settings/ssh/new'
choco install git -y
$SSHPath = (Get-Command -Name ‘ssh.exe’).Source
[Environment]::SetEnvironmentVariable(‘GIT_SSH’, $SSHPath, ‘User’)
Useful Commands:
ls env:
git log --follow path/to/scene.unity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment