-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Please revert gidelines to create repo to use ssh origin link instead of http #19205
Comments
Honestly I give up. There seems to be no possible way of solving this page to everyone's satisfaction.
However if you click the ssh button once then: gitea/templates/repo/clone_buttons.tmpl Line 29 in c21735b
gitea/web_src/js/features/repo-common.js Line 53 in 19b017f
gitea/web_src/js/features/repo-common.js Line 61 in 19b017f
Should mean it becomes the default for you all the time. |
And I found a bug in the empty page, caused by last PR. I will propose a refactoring about clone buttons to make them clear. |
There is a JS error when visiting an empty repo page, which causes the clone-urls can not be updated by local storage. Fix PR: |
And the fix for 1.16 Without the fix, even if user have chosen |
@zeripath we can use this PR to find JS errors as early as possible. |
Description
I have just installed the latest version of gitea
The guide lines to create the repository shown just after the repository has been created in gitea show now the HTTPS remote url. It was previously showing the SSH url.
This is inconvenient when we use SSH as the default access. Is it possible to revert or display the alternative with SSH ?
It is convenient to copy past in the git command. Otherwise I need construct the command by getting the SSH path.
With SSH I can use public key authentication and don't need to give my password. This is also needed when using a smart shell prompt that shows git status relative to origin.
Screenshots
touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://gitea.xxx.xxx/xxx/demo.git
git push -u origin master
Gitea Version
1.16.5
Can you reproduce the bug on the Gitea demo site?
No
Operating System
Debian buster (release 10)
Browser Version
Not relevant
The text was updated successfully, but these errors were encountered: