close
Skip to content

make: add -https flag to use HTTPS git remote instead of SSH#314

Open
arnav03op wants to merge 1 commit intoDebian:masterfrom
arnav03op:feature/https-git-remote
Open

make: add -https flag to use HTTPS git remote instead of SSH#314
arnav03op wants to merge 1 commit intoDebian:masterfrom
arnav03op:feature/https-git-remote

Conversation

@arnav03op
Copy link
Copy Markdown

@arnav03op arnav03op commented Apr 30, 2026

Fixes #199

Added a -https flag to the make subcommand. When passed, the git
remote origin is set to an HTTPS URL instead of the default SSH URL.

SSH remains the default->>no breaking change.

Tested with:

  • go build ./...
  • go test ./...
  • ./dh-make-golang make -help (flag appears correctly)

When -https is passed, the git remote origin is configured with
an HTTPS URL (https://salsa.debian.org/...) instead of the default
SSH URL (git@salsa.debian.org:...).

This lowers the barrier for contributors behind restricted networks
or without SSH keys configured on Salsa.

Closes Debian#199
@arnav03op
Copy link
Copy Markdown
Author

Fixed the issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Option to create HTTPS Git remote instead of SSH

1 participant