Author Topic: GitHub cloning online directly between two GitHub accounts  (Read 2064 times)

0 Members and 1 Guest are viewing this topic.

Offline ricko_uk

  • Frequent Contributor
  • **
  • Posts: 904
  • Country: cz
GitHub cloning online directly between two GitHub accounts
« on: December 04, 2021, 07:18:41 pm »
Hi,
I only ever used SourceTree as version control and only locally (without GitHub) and without branching or any other general functionality.

I cannot find anywhere details on how to duplicate/clone a GitHub repository from someone else's GitHub public account (say the public 3D printing Marlin firmware) directly to my GitHub account. How do you do it?

I also downloaded GitHub Desktop and manage to open it in there but when I tried to Push it it tries to push to the original Marlin account not mine. Why? And how do I do that?
No idea about branching at all as I never used it. Do I need to perhaps branch first? If so does it not appear as a branch on Marlin account (which I don't want to do because I just want to see how the software is written and not make any changes)?

Thank you :)
« Last Edit: December 04, 2021, 07:21:46 pm by ricko_uk »
 

Online langwadt

  • Super Contributor
  • ***
  • Posts: 2991
  • Country: dk
Re: GitHub cloning online directly between two GitHub accounts
« Reply #1 on: December 04, 2021, 08:36:37 pm »
fork instead of clone?
 

Offline ledtester

  • Super Contributor
  • ***
  • Posts: 2164
  • Country: us
Re: GitHub cloning online directly between two GitHub accounts
« Reply #2 on: December 04, 2021, 08:52:19 pm »
I also downloaded GitHub Desktop and manage to open it in there but when I tried to Push it it tries to push to the original Marlin account not mine. Why? And how do I do that?
No idea about branching at all as I never used it. Do I need to perhaps branch first? If so does it not appear as a branch on Marlin account (which I don't want to do because I just want to see how the software is written and not make any changes)?

See this answer:

https://stackoverflow.com/a/42084519/866915

It shows how to do it at the command line. Not sure how to do it within the github desktop menus, but you should be able to do it from the command line.
 

Offline sleemanj

  • Super Contributor
  • ***
  • Posts: 2859
  • Country: nz
  • Professional tightwad.
    • The electronics hobby components I sell.
Re: GitHub cloning online directly between two GitHub accounts
« Reply #3 on: December 04, 2021, 10:31:15 pm »
You click the fork button (top right of the repository page at github)
~~~
EEVBlog Members - get yourself 10% discount off all my electronic components for sale just use the Buy Direct links and use Coupon Code "eevblog" during checkout.  Shipping from New Zealand, international orders welcome :-)
 

Offline ricko_uk

  • Frequent Contributor
  • **
  • Posts: 904
  • Country: cz
Re: GitHub cloning online directly between two GitHub accounts
« Reply #4 on: December 04, 2021, 10:35:15 pm »
Thank you all,
yes fork is what I was looking for! :)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf