tea/modules/task
Norwin e96cfdbbe7 `tea pr checkout`: dont create local branches (#314)
This avoids creation of local branches, to avoid cluttering the local repo:
- if the commit already exists on the tip of a local branch, check that one out
- otherwise check out the remote tracking branch (`refs/remotes/<remote>/<head>`), and suggest what to do if you want to make changes.

I'm not certain this behaviour is actually better, I suggest leaving this open for a while for people to try out the new behaviour:
```
tea pr checkout 314
make install
```

fixes #293

Co-authored-by: Norwin Roosen <git@nroo.de>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/314
Reviewed-by: 6543 <6543@obermui.de>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Norwin <noerw@noreply.gitea.io>
Co-committed-by: Norwin <noerw@noreply.gitea.io>
2021-03-02 21:50:11 +08:00
..
issue_create.go Add interactive mode for `tea milestone create` (#310) 2020-12-18 02:50:07 +08:00
labels_export.go Refactor error handling (#308) 2020-12-17 00:18:10 +08:00
login_create.go Refactor error handling (#308) 2020-12-17 00:18:10 +08:00
login_ssh.go [Refactor] unexport config.Config var & move login tasks to task module (#288) 2020-12-12 21:28:37 +08:00
milestone_create.go Add interactive mode for `tea milestone create` (#310) 2020-12-18 02:50:07 +08:00
pull_checkout.go `tea pr checkout`: dont create local branches (#314) 2021-03-02 21:50:11 +08:00
pull_clean.go `tea pr checkout`: dont create local branches (#314) 2021-03-02 21:50:11 +08:00
pull_create.go Show PR CI status (#306) 2020-12-17 01:16:50 +08:00
pull_review.go Add commands for reviews (#315) 2020-12-21 23:22:22 +08:00