Here’s how to clone a GitHub repository and view it in Flash Builder.

Prerequisites

This post assumes that you’ve got EGit installed in your Flash Builder. If you haven’t installed it yet, follow the instructions in this post: how-to-setup-git-on-flash-builder-4-5/

  1. Go to the GitHub page you want to import the repository from.
    Copy the URI onto the clipboard:
    gitimporturl How to import GitHub projects into Flash Builder
  2. Bring up the Git Repositories panel (from Window>Show View>other…)
    Click on “Clone a Git Repository and add the clone to this view“:
    gitImport How to import GitHub projects into Flash Builder
  3. Paste in the URI from your clipboard and press Finish.
    If you are cloning a read-only repo, ignore the connection settings and authentication.
    Screen shot 2011 05 18 at 18.11.02 How to import GitHub projects into Flash Builder
  4. Select the branch/branches you want to import:
    Screen shot 2011 05 18 at 21.59.24 How to import GitHub projects into Flash Builder
  5. Select a local folder where the repository will be stored.
    Consider using your Flash Builder Workspace folder, to keep your projects organised.
    Ignore the other settings, click Next, then Finish.
    Screen shot 2011 05 18 at 22.01.50 How to import GitHub projects into Flash Builder
  6. At this point you should be able to see the repository in the Git Repositories panel.
  7. Nearly there: Right Click in your Package Explorer panel and click Import
    Screen shot 2011 05 18 at 22.14.44 How to import GitHub projects into Flash Builder
  8. Select Git>Projects from Git:
    Screen shot 2011 05 18 at 22.17.29 How to import GitHub projects into Flash Builder
  9. Select your project and click Finish.
    That’s it!
Tagged with:
 

One Response to How to import GitHub projects into Flash Builder

  1. mzimmerman says:

    Painless! Thanks for the post :)

Leave a Reply

Your email address will not be published. Required fields are marked *

*


6 + eight =

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code lang=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" extra="">