I'm new to coding on a Mac and I'm wondering what version control software you guys use? On my Windows machine I use Perforce but it's a little limited in regards to "free" usage. I really don't have the money to spend on this.
I have my own local server in my home network, running Windows Home Server (Win2003) and it would be nice running version control from it if possible.
version control
(21 posts) (16 voices)-
Posted 2 years ago #
-
Subversion is among the most popular version control systems, and support for it is built right into XCode and Mac OS. It's also used by Google Code, as you may have noticed.
Posted 2 years ago # -
I use Versions for subversion access. I like it more than the XCode integration.
Posted 2 years ago # -
Another vote for Subversion, and I used Cornerstone to manage my SVN codebases as opposed to Xcode itself, though Xcode is perfectly capable of doing all the work..
Regards
Posted 2 years ago # -
I recently move over to Git, and really like it, especially for handling complex merges. Been using svn for a while, and its still nice, but I now mainly use the git svn interface when working with other svn repositories.
Don't usually use a gui, just the command line now, after I couldn't find anything as nice as TortoiseSVN for Mac, so learned to do it manually instead. I might have to take a look at the other recommended clients above though, it is nice to have a gui for certain tasks...
Posted 2 years ago # -
And if you don't have a spare machine to run a SVN server on, and don't want to run one all the time, you can just download the SVN client and use it to version files locally against local file urls. Of course this would mean your versioned source is only on one computer, so make sure you do backups too!
The following url details how to do this:
http://www.rubyrobot.org/tutorial/subversion-with-mac-os-x
Search for the section "Creating a Sample Subversion Project" if you've already got SVN installed. I've been using svn from the command line, but I think it'd work just fine with the gui clients too!
Posted 2 years ago # -
Second vote for git.
Posted 2 years ago # -
Personally, I love perforce. But as the cost is prohibitive for personal use, I'm using SVN on a free ProjectLocker account..
Posted 2 years ago # -
I use subversion. I love it.
Posted 2 years ago # -
I use Subversion but rely more on XCode's snapshot facility and Time Machine for backing up my code.
Posted 2 years ago # -
I had problem once with xCode snapshot and lost everything in it because of some incompatible file names. Those files imported just fine in xCode, worked with simulator and device, but I just couldn't create snapshot of the project. Of course, there was no error reported for me, just snapshot frozen for a eternity. When I shut it down and reopened, there was nothing there... So I avoid it right now
What I am doing (maybe stupid :) is before any major change in my code, I duplicate the project, ++number it, and continue working with new one. In the description of the previous one I write everything I done so far... Yep, I like manually doing things :) Note: when you manually copy project you'll loose snapshot references in new one.
And because I am a PC guy, for tracking changes I just use Total Commander and compare files by content. Its screen is similar to svn diff but I have menu additions with editing compared versions on the fly...
Posted 2 years ago # -
My vote goes for git and it's cheap commits: having a local version of the repo is really neat: you can commit even if you're offline.
For only and team synchronization, we use github: really cheap and good support: it hosts your code (free if you are going to have only public repos), wikis and issues. Really nice.rolando./
Posted 2 years ago # -
Git++. Cheap branching, better merging.
GitHub.com is a good provider as is, oddly, svnrepository.com.
Posted 2 years ago # -
If you do decide to use Subversion, since you are running a Windows Server. You can use the free VisualSVN Server. http://www.visualsvn.com/server/
I use it and it has a simple GUI that will help with creating your first repositories.
Posted 2 years ago # -
Thanks for all the suggestions. VisualSVN looks nice, but it uses Apache which I don't have installed and I don't think I want to either. I had previous difficulties with it. Also I'm currently running IIS on the server and don't want to mess things up. I'm no expert in this field (web servers etc) and it was hard enough getting IIS to work solo.
Any other ideas for a Subversion server program?Posted 2 years ago # -
I have now read a ton of info and watched video presentations of different softwares. I'm currently leaning toward Git which seems really nice.
Posted 2 years ago # -
I've now managed to setup Git properly on my server and client machines. One thing I'm wondering though, what do you guys add to the repository? Do you add only the directory where the source code is or do you add the entire "project directory" so that you could add other files belonging to the project?
Posted 2 years ago # -
FWIW, I've been using Subversion with Versions.app for my latest project and I've been loving it... but I've got pretty simple needs for version control.
Posted 2 years ago # -
I recommend using Bazaar. No server needed. I switched from SVN to Bazaar two months ago and never looked back :) http://bazaar-vcs.org/
Posted 2 years ago # -
Git doesn't require a server as you have your own local repository, but it's nice to have. This way I can merge my local repository to with the one on the server which is already backed up by both drive redundencies and periodic backups. It also makes my code accessable to all of my machines.
Posted 2 years ago # -
Glad your liking Git, sounds like you've got a nice little setup now! I need to do the same, I've got an off-site server I use with svn over ssh (for my older work and personal projects), and need to get it setup as a backup for my new git based projects.
Posted 2 years ago #
Reply
You must log in to post.