My company uses Stash for its GIT repository. A common clone command is something like:
git clone ssh://email@example.com:7549/code/mycode.git.
Problem is that port 7549 is being blocked.
Is there a way to either use port 443 or bypass?
In Stash, when you hit "Clone", the box that says "SSH" is a pull-down, and you can select "HTTP" instead to see the HTTP URL, which should be something like: http://firstname.lastname@example.org/scm/code/mycode.git - maybe with a port number thrown in there.
first thank you for the quick responses! I did try something like https://email@example.com@stash.mycompany.com/scm/code/mycode.git and https://firstname.lastname@example.org/scm/code/mycode.git very close to what you recommend, but it brings me to the repository and doesn't clone the code. The URL is the one recommended by stash when you First Select clone and then select "HTTP" vice "SSH". So maybe missing something, like adding a clone command to the URL or password? Thank you
Tim, Trying to go away from command line. The command requires a port number in the SSH command, which I can't use. But you may of hit on something. Maybe I need to get SourceTree for the HTTPS command to work. I was trying to use an HTTPS URL outside of SourceTree because SourceTree is not currently allowed in Company. So perhaps should try and get SourceTree to proceed with HTTPS type of cloning? Thanks
If the traffic is being blocked at the firewall, it's not going to matter whether you use SourceTree or the git command line. SourceTree is just a graphical frontend for git. Whether using SourceTree or the git command line or any other git client, you'll need to specify the URL for your repo - which can be either an SSH url or an HTTP url.
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