I am trying to add a GIT remote repository (clone it) using SourceTree
in command line I would use
git clone git@repos.xxx.com:bbbb
to clone the bbbb repository from my company's GIT server
Is it possible in SourceTree? How ?
Sure, just copy the URL and paste it into the Clone box (Cmd-N, File > New, or the Add Repository toolbar button on the Bookmarks window). Or you can drag & drop any clone link from a browser into the bookmarks window too.
Thanks for your quick answer Steve.
What would be the URL for a GIT repository ? when you're in command line you don't use URLs..
again this is proper hosted GIT and not GITHUB or something similar
what would be the URL the below repository ?
git clone git@repos.xxx.com:bbbb
sorry this maybe very basic but I'm not a big expert on GIT yet - that's why I was looking to use SourceTree to help me use it
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The bit after 'git clone' is the URL, I know it doesn't look like a HTTP URL but effectively that's what it is - that's a git-specific URL.
In fact in the latest SourceTree (1.5.3) if you pasted the entire command including the 'git clone' into the Clone window, SourceTree would figure it out and strip off the 'git clone' part for you. We're friendly like that :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks ! worked perfectly..
I do think if there was a little hint or something it would make things easier
I asked other people and they all had cloned the repos in command line then used sourcetree
thanks again
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I should say that using File - New is not obvious for clone. Why there is no dedicated Clone menu item?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.