X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/blobdiff_plain/2e8573537b78f9196c03edd31593c50cc813d043..a618dc3982ad2e1c7aa8cc16e17c310dcbb5f8b3:/doc/github.md diff --git a/doc/github.md b/doc/github.md index cae9634..d0aec84 100644 --- a/doc/github.md +++ b/doc/github.md @@ -28,4 +28,39 @@ ```powershell gh auth login + ``` + +## Setup PowerShell for GitHub + +1. Install PowerShell for GitHub + + ```powershell + Install-Module -Name PowerShellForGitHub -Scope CurrentUser + Set-GitHubConfiguration -DisableTelemetry + + ``` + +1. Authorize PowerShell for GitHub + + Generate a classic token at + Select all the permissions that start with `read`, skip the ones I clearly don't care about. If you're not me, and reading this...use your judgement, and good luck. + + Now run: + ```powershell + set-githubauthentication + ``` + and paste the token into password, and set the username to 'Slartibarfast'. + +3. Clone my multi-repo helper scripts + + ```powershell + cd ~/src + git clone git@github.com:uillinois-community/powershell-scripts.git + ``` + +4. Review the available commands + + ```powershell + get-command -module MarkDownGitHub + get-command -module AgileGitHub ``` \ No newline at end of file