Skip to content

Instantly share code, notes, and snippets.

@pweil-
Created March 12, 2018 16:26
Show Gist options
  • Save pweil-/abcaf54e44fb6eafb7501be83a40633d to your computer and use it in GitHub Desktop.
Save pweil-/abcaf54e44fb6eafb7501be83a40633d to your computer and use it in GitHub Desktop.
[pweil@localhost codebase]$ mkdir tempgopath
[pweil@localhost codebase]$ cd tempgopath/
[pweil@localhost tempgopath]$ export GOPATH=`pwd`
[pweil@localhost tempgopath]$ go get https://github.com/Azure/acs-engine
package https:/github.com/Azure/acs-engine: "https://" not allowed in import path
[pweil@localhost tempgopath]$ go get github.com/Azure/acs-engine
@pweil-
Copy link
Author

pweil- commented Mar 12, 2018

[pweil@localhost tempgopath]$ cd src/github.com/Azure/acs-engine/
[pweil@localhost acs-engine]$ git remote -v
origin	https://github.com/Azure/acs-engine (fetch)
origin	https://github.com/Azure/acs-engine (push)
[pweil@localhost acs-engine]$ git remote rename origin upstream
[pweil@localhost acs-engine]$ git remote -v
upstream	https://github.com/Azure/acs-engine (fetch)
upstream	https://github.com/Azure/acs-engine (push)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment