Search code examples
gitrepositoryclone

How to Clone Git Repo from one account to another


We have 2 account in git. both have separate repositories.
Example
Account 1 : Repository - ABC, XYZ
Account 2 : Repository - PQR
Now we want to clone repository XYZ from Account 1 to Account 2.

We know how to cloe a reporsitory within account, But from different account is a question.
We tried but no success. Need your guidance on performing such operation.


Solution

  • If you're using GitHub or GitLab. I would suggest you forking the repository with a different account.