Cloning a repository with SourceTree

前端 未结 22 1369
不知归路
不知归路 2021-02-03 21:23

Can someone give me a quick walkthrough on simply cloning a repo with SourceTree?

In Bookmarks, I click on Clone Repository. For Source Path I paste in the URL which loo

相关标签:
22条回答
  • 2021-02-03 21:45

    For me, the solution was to enable Git Support from Source Tree. Tools --> options --> Git (Enable Git Support)

    0 讨论(0)
  • 2021-02-03 21:45

    In my case, i did not had installed GIT on Sourcetree. It automatically asking when initial installation but i missed it somehow. so i installed GIT manually, Goto Tools > Options > GIT > follow the steps to add the GIT to your SourceTre.

    0 讨论(0)
  • 2021-02-03 21:49

    i have dowloaded the sourcetree an the GIT an use the local GIT installed not what sourcetree offers. that resolves the error.

    0 讨论(0)
  • 2021-02-03 21:50

    As illustrated in this Atlassian thread, this is usually related to a credential issue.

    In your case, it could be an ssh configuration problem, with no or the wrong ssh public/private keys.
    Or, still for ssh, it can be related to ssh keys incorrectly registered.

    0 讨论(0)
  • 2021-02-03 21:52

    Kindly follow these simple steps

    1. Create a repo on https://bitbucket.org
    2. Install Source Tree and click on "+" button (Look at my attached image with this answer)
    3. Click on "Remote: button on the top (very very important)
    4. Past your URL that is copied by https://bitbucket.org (where you repo is)
    5. Wait until the text appears "This is a valid Git repo etc"
    6. Set your destination path
    7. Click on Clone button

    Image

    0 讨论(0)
  • 2021-02-03 21:52

    It happened to me when I first run SourceTree after installing. Restarting SourceTree and this particular error went away.

    0 讨论(0)
提交回复
热议问题