Git in Eclipse
Git in Eclipse works a little differently from, but is also similar to, SVN. We already installed the EGit plug-in, so we don’t need to worry about that anymore.
The basic principles are the same as with SVN: you have a view specifically for Git and you can commit, update, and merge files from the team menu. Let’s see how that works.
Open up the Git Repositories view. You will see a bunch of icons (Figure 2-4).

Figure 2-4. The Git Repositories view icon bar
Next we’ll go over how to make a local repository to which you can commit and update in order to illustrate that Git does not need an Internet connection to work. This is one of the powers of Git, and it makes it incredibly fast.
Hover over the third icon, the one with the yellow plus sign (+); you should see the message “Create a new Git repository and add it to this view.” Click the icon, give the repository a location and a name, and click Finish, and we are done (see Figure 2-5).

Figure 2-5. Creating a Git repository in your workspace
Now we can start adding files to our repository. For demonstration purposes, I copied over the src folder from our sample project. Once you have added source files, refresh the Git view to show them. Switch over to the FDT view and right-click anywhere in the Flash Explorer window or go ...