cli/pkg/cmd
Rasmus Wriedt Larsen 9e3893e104 Also set pushRemote on gh pr checkout from fork
As explained in https://git-scm.com/docs/git-config#Documentation/git-config.txt-branchltnamegtremote
if you have `remote.pushDefault` set in your global gitconfig (like I
do), then _that_ setting will take precedence over
`branch.<name>.remote` 😞

However, `branch.<name>.pushRemote` will take precedence over your
`remote.pushDefault` setting, such that
`gh pr checkout 123 && make changes && git push` will just work, even if
you have `remote.pushDefault` set 💪
2021-09-24 16:38:25 +00:00
..
actions Merge remote-tracking branch 'origin' into go-module-v2 2021-09-02 20:02:16 +02:00
alias Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
api Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
auth Ensure correct path to gh after gh auth refresh git credential setup 2021-09-24 14:43:48 +02:00
browse fix browse of markdown files with line ranges (#4310) 2021-09-14 16:08:19 +02:00
completion Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
config Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
extension linter appeasement 2021-09-22 15:59:50 -05:00
factory Avoid resolving executable() until requested at runtime 2021-09-24 14:42:41 +02:00
gist Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
issue Avoid using error values to pass information about the search cap 2021-09-06 16:09:18 +02:00
pr Also set pushRemote on gh pr checkout from fork 2021-09-24 16:38:25 +00:00
release Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
repo Merge pull request #4331 from cli/repo-create-prompt-error 2021-09-17 14:37:24 +02:00
root Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
run Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
secret Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
ssh-key Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
version Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
workflow Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00