cli/command
Mislav Marohnić cba8331d55 Avoid auto-forking/pushing an already pushed branch in pr create
A branch is considered already pushed if its HEAD commit hash matches
the commit hash of one of the remote tracking branches:
`refs/remotes/<remote>/<branch>`

This mechanism allows the user to:

- Choose a remote as push target for their branch different than the one
  that would automatically get chosen for them by `pr create`;

- Avoid a `git push` operation (and its associated git hooks) if a push
  was not necessary in the first place.
2020-03-26 20:35:42 +01:00
..
completion.go Improve completion docs 2020-03-05 09:34:05 +01:00
completion_test.go Add support for PowerShell completion 2020-03-05 09:33:49 +01:00
issue.go Merge branch 'master' into pr-count 2020-03-18 09:26:05 -07:00
issue_test.go Merge branch 'master' into pr-count 2020-03-18 09:26:05 -07:00
pr.go Merge pull request #694 from cli/respect-b 2020-03-24 15:14:28 -05:00
pr_checkout.go Convert git.VerifyRef into a more versatile ShowRefs 2020-03-26 19:21:40 +01:00
pr_checkout_test.go Convert git.VerifyRef into a more versatile ShowRefs 2020-03-26 19:21:40 +01:00
pr_create.go Avoid auto-forking/pushing an already pushed branch in pr create 2020-03-26 20:35:42 +01:00
pr_create_test.go Avoid auto-forking/pushing an already pushed branch in pr create 2020-03-26 20:35:42 +01:00
pr_test.go Fix broken pr view test 2020-03-20 18:15:09 +01:00
repo.go Enable tests to capture spinner output 2020-03-20 18:18:27 +01:00
repo_test.go add CmdStubber 2020-03-13 15:12:09 -05:00
root.go Implement review comments 2020-03-17 20:05:53 +03:00
root_test.go Fix gh version printing the correct changelog link 2020-01-29 16:03:10 +01:00
testing.go cleanup 2020-03-13 15:14:32 -05:00
title_body_survey.go review feedback 2020-03-16 15:32:35 -05:00