Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jan 20, 2013, 05:09 PM   #1
wrldwzrd89
macrumors G4
 
wrldwzrd89's Avatar
 
Join Date: Jun 2003
Location: Solon, OH
Really glad I'm using version control now

I only wish I had discovered the wonders of VCS earlier... I just started a new project, hosted on Google Code, using Git for the source code repository. This makes my life MUCH easier. Reverting back to a older version is far easier to do now, should I ever need to do that. Also, I can easily see how my code has changed over time. I've only made 2 commits so far, one initial and one to fix a bug. I'm already liking Git, now that I have figured out how to use it.
__________________
iMac Intel (Rev H, 27"), 1TB HDD, 16GB RAM, 10.8.4
wrldwzrd89 is offline   0 Reply With Quote
Old Jan 20, 2013, 08:32 PM   #2
ArtOfWarfare
macrumors 601
 
ArtOfWarfare's Avatar
 
Join Date: Nov 2007
Send a message via Skype™ to ArtOfWarfare
I enjoy the snapshot feature built into Xcode. I don't use it often enough, though.

Does Xcode have the same Mountain Lion version tracking features that apps like TextEdit and Pages have?
ArtOfWarfare is offline   0 Reply With Quote
Old Jan 21, 2013, 05:13 AM   #3
wrldwzrd89
Thread Starter
macrumors G4
 
wrldwzrd89's Avatar
 
Join Date: Jun 2003
Location: Solon, OH
Oddly enough, this is a Java project in Eclipse. So I couldn't tell you, as I have not messed with Xcode enough to know.
__________________
iMac Intel (Rev H, 27"), 1TB HDD, 16GB RAM, 10.8.4
wrldwzrd89 is offline   0 Reply With Quote
Old Jan 21, 2013, 01:14 PM   #4
PatrickCocoa
macrumors 6502a
 
Join Date: Dec 2008
Two pieces of advice . . .

Source control is great and can radically improve your productivity. It can also change your programming style to be more experimental and fearless. Two pieces of advice:

1. Practice reverting your code to earlier versions - make a small change (say to a comment), commit it, then roll back to the pre-change version. Do this a few times;

2. Once you're familiar with git, use an app that gives you a visual indication of your commit structure. Try SourceTree or Tower. Both will go into your git repository and show you a tree of what you committed and each commit's relationship to its parent and child commits.
__________________
iMac 21.5", 3.06GHz, 4 GB, 2 TB HD.
iPod Touch 3G.
PatrickCocoa is offline   0 Reply With Quote
Old Jan 21, 2013, 02:05 PM   #5
larswik
macrumors 65816
 
Join Date: Sep 2006
I would love to learn to use GIT. Right now when I finish a project I will copy it and zip the original project in case I need to revisit it. I have wanted to learn / use it as I improve my projects. Are there any good tutorials for getting started using it, and how to use it out there that you guys recommend?
__________________
I know more than yesterday.
Lars
larswik is offline   0 Reply With Quote
Old Jan 21, 2013, 03:24 PM   #6
wrldwzrd89
Thread Starter
macrumors G4
 
wrldwzrd89's Avatar
 
Join Date: Jun 2003
Location: Solon, OH
Quote:
Originally Posted by PatrickCocoa View Post
Source control is great and can radically improve your productivity. It can also change your programming style to be more experimental and fearless. Two pieces of advice:

1. Practice reverting your code to earlier versions - make a small change (say to a comment), commit it, then roll back to the pre-change version. Do this a few times;

2. Once you're familiar with git, use an app that gives you a visual indication of your commit structure. Try SourceTree or Tower. Both will go into your git repository and show you a tree of what you committed and each commit's relationship to its parent and child commits.
I am using SourceTree right now. Never reverted a commit before - thanks for the advice. I'll give that a try.
__________________
iMac Intel (Rev H, 27"), 1TB HDD, 16GB RAM, 10.8.4
wrldwzrd89 is offline   0 Reply With Quote
Old Jan 22, 2013, 08:08 AM   #7
960design
macrumors 6502
 
Join Date: Apr 2012
Location: Destin, FL
Had to chime in here. Yes!!! Source control is a huge life saver.

I use SourceTree (GIT) for every programming need. I keep sourcetree open in a separate desktop, write code, test, swipe to sourcetree, commit with short change log, back to coding. Easy peasy.
__________________
TI-99/4A, tape cassette, 12" B&W Zenith
960design is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:35 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC