Skip to content

Instantly share code, notes, and snippets.

@shanselman
Created January 26, 2026 05:39
Show Gist options
  • Select an option

  • Save shanselman/401ad0eb932c0702ff326387f4a1f22e to your computer and use it in GitHub Desktop.

Select an option

Save shanselman/401ad0eb932c0702ff326387f4a1f22e to your computer and use it in GitHub Desktop.
PowerShell function to quickly jump to a GitHub repo and run Copilot CLI
function yolo {
param([Parameter(Mandatory=$true)][string]$RepoName)
Set-Location "D:\GitHub\$RepoName"
copilot --resume --yolo
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment