cli/git
vilmibm bec58ede98 respect ssh
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.
2020-04-22 14:21:01 -05:00
..
git.go Merge branch 'master' into pr-status-no-commits 2020-03-30 12:04:02 -05:00
git_test.go Code fixes informed by golangci-lint failures (#738) 2020-04-03 16:33:34 +02:00
remote.go respect ssh 2020-04-22 14:21:01 -05:00
remote_test.go Eliminate package-level state in git remote parsing 2019-10-25 21:48:25 +02:00
ssh_config.go Code fixes informed by golangci-lint failures (#738) 2020-04-03 16:33:34 +02:00
ssh_config_test.go Eliminate package-level state in git remote parsing 2019-10-25 21:48:25 +02:00
url.go Eliminate package-level state in git remote parsing 2019-10-25 21:48:25 +02:00