rdmkit icon indicating copy to clipboard operation
rdmkit copied to clipboard

command for git cloning the repository fails

Open bianchini88 opened this issue 10 months ago • 5 comments

Link to the page of interest https://rdmkit.elixir-europe.org/working_with_git#forking---branching---changing---pushing---pr

Describe what you would change to the page git clone [email protected]:USERNAME/rdmkit.git does not seem to be working for me. I would recommend changing it with git clone https://github.com/USERNAME/rdmkit/. If the former works for somebody, we could also display both options.

bianchini88 avatar Apr 30 '24 13:04 bianchini88

git clone [email protected]:USERNAME/rdmkit.git does not seem to be working for me.

For that command to work you need to add your computer's SSH keys to your GitHub account. See how here

GilOliveira avatar Apr 30 '24 13:04 GilOliveira

@bianchini88 the current version is actually the recommended one, since it makes use of SSH keys and than you don't need to always set your credentials :) It must be that you have not set them up.

image

I would give them both

Edit: @GilOliveira you were quicker ;)

bedroesb avatar Apr 30 '24 13:04 bedroesb

Woops misclicked!

bedroesb avatar Apr 30 '24 13:04 bedroesb

I would give them both

@bedroesb In that case maybe add a note letting people know that when you push it with HTTPS, you need to create a user token? That's the only way GitHub allows you to push using HTTPS.

GilOliveira avatar Apr 30 '24 14:04 GilOliveira

@GilOliveira @bedroesb Thank you for this, I will have a look.

you need to create a user token?

I remember I did that at some point, and I agree it is worth mentioning on the page.

bianchini88 avatar May 02 '24 07:05 bianchini88

Closing this, as this was never an issue to begin with. Thank you @bedroesb and @GilOliveira for the comments.

bianchini88 avatar May 31 '24 11:05 bianchini88