Given the time I've spent searching on Atlassian site and not finding anything, I must be asking a rare question. So hopefully this is not something obvious I overlooked.
I have a local git repo on my computer. I am ready to push it out to a remote repo that doesn't yet exist on github. I went into Settings in the top-right corner and selected Remote tab. Then I clicked Add button.
It then asks for Remote name (it doesn't exist so I type in a new name I want to give it on github). Then it wants the URL/path. Below that input is an Optional extended integration section where if you select Github, it provides the github URL. It asks for your username input. If I specify my github account path there, why does it ask for the URL/path above?
This is confusing to me. There is no on screen Help. Searching results in nothing so far.
You need to create the new repo in Github first, then you can follow these instructions on how to import your local repo into it https://help.github.com/articles/importing-a-git-repository-using-the-command-line/
I've reviewed your solution but it doesn't use ST. My question about the URL/Path vs the Optional extended integration section details has not been answered. It seems redundant to me.
I've created a new remote repo on github.com and now want to use ST to "hook it up".
The URL/Path is the one you get from Github, and you can either set it up using the steps outlined in link above, or enter it via Sourcetree. They both do the same, it updates the config file for the repository so it knows where the remote is. Looking at the Github instructions compared to Bitbucket is looks like Github needs a bare copy in order be able to import an existing local repository, so using the Settings option in Sourcetree may or may not work.
The optional extended integration allows you to create pull requests directly from within Sourcetree.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG