this adds recognition of the git_protocol setting when: - creating a repo - cloning a repo - forking a repo - forking/pushing during pr create - checking out a PR additionally, it: - consolidates remote adding to use AddRemote; this introduces a fetch where there previously hadn't been one - changes repo clone to accept an ssh url - changes repo fork to accept an ssh url i just added basic unit tests; adding new test cases for all of the above scenarios seemed like diminishing returns. |
||
|---|---|---|
| .. | ||
| git.go | ||
| git_test.go | ||
| remote.go | ||
| remote_test.go | ||
| ssh_config.go | ||
| ssh_config_test.go | ||
| url.go | ||