Skip to content

support defaulting to SSH remotes #546

@vilmibm

Description

@vilmibm

Describe the feature or problem you’d like to solve

Some users prefer that remotes be interacted with over SSH exclusively but we currently default to https in a few places.

Proposed solution

Supporting a preferSSH setting in gh's config. This requires actually thinking through some UX; we can either expect people to hand-edit the config, offer a hyper specific command just for this setting, or add a gh config key value style command.

How will it benefit CLI and its users?

People like me who prefer SSH over HTTPS will be happy.

Additional context

i'm fine with this being hand-edit for now but i feel like we're only going to find more cases where we want a gh config style command.

Metadata

Metadata

Assignees

Labels

enhancementa request to improve CLI

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions