gitea-tea/cmd
Norwin 355fd7aa53 `tea pr checkout`: fetch via ssh if available (#192)
improved logging

try to use local branch before creating pulls/<PR>

useful for checking out your own PRs

reorder imports

refactor pulls checkout

isolated "gitea API to local git cfg" aspect

work around go-git limitation

As we cant manage multiple remote URLs properly, we just set the correct
URL protocol ahead of time.

This logic won't apply for already existing HTTPS remotes, these
should be deleted before using `tea pr checkout`.

use SSH if user has key in gitea

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Norwin Roosen <git@nroo.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/192
Reviewed-by: 6543 <6543@noreply.gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-Authored-By: Norwin <noerw@noreply.gitea.io>
Co-Committed-By: Norwin <noerw@noreply.gitea.io>
2020-11-07 15:00:03 +08:00
..
flags Refactor: apply new internal structurs (#206) 2020-09-30 05:11:33 +00:00
issues print times in local timezone (#217) 2020-10-05 12:23:32 +00:00
labels Refactor: apply new internal structurs (#206) 2020-09-30 05:11:33 +00:00
login Fix `login add` always go interactive (#221) 2020-10-05 18:34:10 +00:00
milestones print times in local timezone (#217) 2020-10-05 12:23:32 +00:00
pulls `tea pr checkout`: fetch via ssh if available (#192) 2020-11-07 15:00:03 +08:00
releases print times in local timezone (#217) 2020-10-05 12:23:32 +00:00
repos improve formatting of `tea repos` (#223) 2020-10-10 01:17:31 +00:00
times Refactor: apply new internal structurs (#206) 2020-09-30 05:11:33 +00:00
issues.go Common subcommand naming scheme (#208) 2020-10-02 15:46:51 +00:00
labels.go Common subcommand naming scheme (#208) 2020-10-02 15:46:51 +00:00
login.go Add Detail View for Login (#212) 2020-10-02 15:57:48 +00:00
logout.go Improve `tea logout` (#213) 2020-10-02 15:45:55 +00:00
milestones.go Common subcommand naming scheme (#208) 2020-10-02 15:46:51 +00:00
notifications.go Common subcommand naming scheme (#208) 2020-10-02 15:46:51 +00:00
open.go Refactor: apply new internal structurs (#206) 2020-09-30 05:11:33 +00:00
pulls.go Use Print Package (#214) 2020-10-02 14:15:18 +00:00
releases.go Common subcommand naming scheme (#208) 2020-10-02 15:46:51 +00:00
repos.go Add `tea repos search`, improve repo listing (#215) 2020-10-06 08:05:22 +00:00
times.go Refactor: apply new internal structurs (#206) 2020-09-30 05:11:33 +00:00