tags:

views:

17

answers:

2

Can anyone tell me how to create a REMOTE branch using smartgit?

+2  A: 

With the usual command-line Git, a remote reference is automagically created when you clone a remote repository with git clone href://... (which would call the remote 'origin' by default).

Or, you can add it manually with a command like git remote add origin href://.... To push up a branch, you would execute git push origin branchname. (See more detailed examples and explanation here.)

However, I can see that SmartGit is a little different (I have not used it myself), and is GUI-based. As far as I can see, the 'Clone' and 'Push' commands mentioned above can be found in SmartGit's 'Remote' menu. If you want to add a reference to a remote repository, is there an 'Add' option in the 'Remote' menu??

ewall
A: 

I don't know that you can create a remote branch, but I think you might find what you're looking for under Project/Clone...

(Disclaimer, I've only used this once, and it was a while ago)

You could try asking on their forum/discussion list. They are very good at answering mail sent to support to (Help/Contact Support...)

Benjol