![]() ![]() The only (possible) downside that I see is that, it will create a folder which contains the sub-project (in your case folder A within folder B). Ref: Submodules help you nest another repo with an existing repo. To verify that it is connected to the remote on GitHub, click the "Settings" gear in the top right-hand corner and you should see the GitHub remote in the "Remotes" section. 1 Answer Sorted by: 1 I think a solution could be to use git submodules. From the Options dialog, select the Authentication tab. To add your app password to Sourcetree: Go to the tab where youll add or edit your account details: (Windows) Go to Tools > Options. Once that's done, you can double click the new bookmark and use SourceTree as you normally would. Add an app password to Sourcetree or another application. You can either clone it to a new location, or add the directory manually in the Local tab. Since this was just a test repo, I'll move it to the trash.)Īdding an Existing Repo that Has a Corresponding Remote to SourceTreeįor some reason if you click "Clone" next to a repo you already have on your local machine and select the existing directory, it won't connect the remote repo with your existing copy. ![]() Select "Delete" (When you do that, you'll be asked whether you'd just like to remove the bookmark from SourceTree and leave the repo on your machine, or also move the repo to the Trash.Since this was just a test repo, I'll delete it from my machine. If it doesn't, double click on the bookmark in the list in the "Local" tab. The repo will be cloned to your local machine and should open in a new window when it's done. Name: (This is the name of the bookmark that represents the repo in SourceTree).Destination Path: (This is the location on your computer that you'd like the repo to be cloned to.).Source URL: (Leave this at its default.Click the "Clone" link next to "My-First-GitHub-Site" (or the repo you'd like to clone).I'll clone the "My-First-GitHub-Site" to my local machine with SourceTree. Now, you can click "Clone" to clone one to your local machine. Click the "Remote" tab to see your repositories.Click the "Gear" icon in the top right corner and select "Settings".If you do choose to use SourceTree as a GUI Git client, you'll need to add your GitHub credentials to SourceTree.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |