tea/modules/git
Norwin d474883e90 don't push before creating a pull (#334)
Not sure if this is the best way, but it's the simplest way to fix #333.
Everything else is overly complex due to a chicken-egg problem:
Knowing which remote / branch to push involves requires prompting the user,
which requires to have a upstream branch pushed to detect default values.

Co-authored-by: Norwin Roosen <git@nroo.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/334
Reviewed-by: 6543 <6543@obermui.de>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: khmarbaise <khmarbaise@noreply.gitea.io>
Co-authored-by: Norwin <noerw@noreply.gitea.io>
Co-committed-by: Norwin <noerw@noreply.gitea.io>
2021-03-05 18:27:09 +08:00
..
auth.go Improve ssh handling (#277) 2020-12-11 21:42:41 +08:00
branch.go don't push before creating a pull (#334) 2021-03-05 18:27:09 +08:00
remote.go migrate src-d/go-git -> go-git/go-git (#128) 2020-04-30 02:02:15 +00:00
repo.go fix InitCommand() (#285) 2020-12-11 17:07:29 +08:00
url.go add tea pulls [checkout | clean] commands (#93 #97 #107) (#105) 2020-04-19 03:09:03 +00:00