Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an iphone project which I need to publish in assembla git repository as a new branch.My Lead has given me the access to the account. I am using mac os x . Please help me out.

share|improve this question
Would you like to know the command line way or the graphical way? – Autumnal Apr 30 '13 at 10:13
@ohope5: graphical way.. – Warrior May 3 '13 at 8:41

First of all you need a GUI git application. I use SourceTree, and I would recommend this. Get it HERE.

Then you need to add the assembla repository. Open SourceTree and click the add repository button (top left corner).

Open assembla in your browser, log in and then go to your profile and click manage ssh keys. Add yours by pasting the content of ~/.ssh/ If this does not exist, then create a key using ssh-keygen -t rsa first.

Now open the specific repo and copy the git URL to clipboard. Back in SourceTree copy this as the URL and then fill in the destination folder and click clone. Now you have a local copy!

Now open the new repo in SourceTree and click "Branch" fill in all the fields as necessary. Now, put all the necessary files in this branch, click "commit" and then click "push". Now you should successfully have added a working branch to the online repo with your code.

A small word though, if your are going to be using git a lot in the future I would recommend learning how to use it on the command line, even if you still prefer to use a GUI app it would still be helpful and a useful thing to do.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .