I am developing a project in Flex-Java using Adobe Flex Builder. I am using GIT for versioning control. GIT takes control of every change I have made in the source code from the las commit. However I don’t want GIT taking care of changes in .swf and .class files. I am concern about the source code and not the end-binary-result.
Each time I make a change in a .java or .mxml file GitX displays for a possible commit all the generated related files. Which I would like to avoid.
I found this article called Configure git to globally ignore files which become very helpful to solve this kind of situation.
Git
Using GIT for version control system is really very easy. The best guide I found of how t use Git is website Git for the lazy. I was surprise how easy to use GIT is. If you need another place to check for how to use GIT you can try Everyday GIT with 20 commands or So.
The use of GIT become even easier with tools like GitX. It is a Max OS X application which provided the possibility to see the the changes history and also commit the current changes to GIT. How it worked? Basically after making the changes in your code go the Commit View of GitX. It will show the new changes you had made. Choose what changes you want to commit into GIT. Include your message, and click in the Commit button. And this is it. You can go to the History Browser to see how your code had been growing.
GitX – Commit View

GitX – History Browser

Another tool which I have not yet tested but looks nice is github. The advertise strength of this one is social coding.
Git
An important area in software development is Revision control or Version Control. The most known software used for this kind of control, among others, are Concurrent Versions System (CVS) and Subversion (SVN). I was analyzing both of them trying to decided for the most convenient. A friend shared with me this interesting article: SNV vs CVS. I was almost deciding for SNV when I discover GIT.
What called my attention is that Git was initially created by Linus Torvalds for Linux kernel development, according to what I found in wikipedia. This informations is also interesting:
Several high-profile software projects now use Git for revision control, most notably the Linux kernel, Samba, X.org Server, Qt (toolkit), One Laptop per Child (OLPC) core development, Ruby on Rails web framework, VLC, Merb, Wine, SWI Prolog, DragonFly BSD and the Android mobile platform.
There is available an OSX Installer for Git: git-osx-installer, and also a Git Eclipse Plugin.
To install GIT in OSX is a matter of downloading the .dmg file and run the installer package found in it.
Useful Link:
- Eclipse Git plugin installation
- A Tour of Git, with Java and Eclipse
Git, Installations, Workstation