Cloning a repository with SourceTree

前端 未结 22 1307
不知归路
不知归路 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:32

    It is known that there are issues with the clone function from Sourcetree on Mac. However there is a workaround which works for me:

    Steps:

    • Remove Sourcetree completely from your local disk (incl the 2 data folders)
    • Remove the GIT hub folders from your machine.
    • Change in the Keystore your login password to something else.
    • Reboot your system twice (2x)
    • Now you can install Sourcetree again, but do not clone from your repository!!!
    • Open a terminal and create your new (!) repository folder
    • In the terminal move to this folder and clone the repository. Command: git clone <---repository-> . (Note the dot at the end!)
    • Open finder
    • Go to the parent of the repository folder
    • Drag/drop the folder of your computer-repository into Sourcetree
    • Reboot your computer again

    This last step was needed for me to be able to perform PUSH.

提交回复
热议问题