Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change git remote paths from HTTPS to SSH #502

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Change git remote paths from HTTPS to SSH #502

wants to merge 1 commit into from

Conversation

hombit
Copy link
Contributor

@hombit hombit commented Dec 6, 2024

Change Description

Usually, SSH git URLs are used for remotes when working from the terminal. This PR proposes to change the suggested git remote add command to use SSH paths instead of HTTPS paths.

However, I'm not sure about other use cases: GUI clients, VS Code, etc.

Checklist

  • This PR is meant for the lincc-frameworks/python-project-template repo and not a downstream one instead.
  • This change is linked to an open issue
  • This change includes integration testing, or is small enough to be covered by existing tests

@@ -71,7 +71,7 @@ This will be:

* Your GitHub username, if you're working outside of an organization.

This is used to construct URLs to your project, as in: ``https://github.com/{{project_organization}}/{{project_name}}``.
This is used to construct URLs to your project, as in: ``git@github.com:{{project_organization}}/{{project_name}}``.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line in documentation is specifically about constructing web URLs, so should remain HTTP.

@@ -45,7 +45,7 @@ questions:
* - *What github organization will your project live under?*
- This will either be a github organization, or your github username, if you're working outside
of an organization. This is used to construct URLs to your project, like
``https://github.com/{{project_organization}}/{{project_name}}``
``git@github.com:{{project_organization}}/{{project_name}}``
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here - it's about creating web URLs (e.g. for readme badges) so should stay HTTP.

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.

2 participants