PS C:\Users\lukas>Set-Variable -name username -value lukas PS C:\Users\lukas>Set-Variable -name access_token -value xxxxxxxxxxxx PS C:\Users\lukas> go env -w GOPRIVATE=github.com/${username} PS C:\Users\lukas> git config --global url."https://${username}:${access_token}@github.com".insteadOf "https://github.com" PS C:\Users\lukas> cd D:\tmp PS D:\tmp> PS D:\tmp> go get github.com/lukas/blueberry/examples go: downloading github.com/lukas/blueberry/examples v0.0.0-20240329033644-5f967cf0e366 go: downloading github.com/lukas/blueberry v0.0.0-20240329033644-5f967cf0e366 go: added github.com/lukas/blueberry/examples v0.0.0-20240329033644-5f967cf0e366 PS D:\tmp>
|