Re: Crash at iOS App Startup - What Could Have Gone Wrong?
Re: Crash at iOS App Startup - What Could Have Gone Wrong?
- Subject: Re: Crash at iOS App Startup - What Could Have Gone Wrong?
- From: Jens Alfke <email@hidden>
- Date: Tue, 21 Apr 2015 07:20:13 -0700
> On Apr 21, 2015, at 5:35 AM, Michael Crawford <email@hidden> wrote:
>
> The reason I haven't been using version control is that I prefer to
> operate my own servers - but then I have to set them up, and it's
> quicker just to roll a tarball.
You don’t have to have a server to use Git. In fact it’s only going to use a server if you explicitly tell it to. Your project’s Git repository is local (in a “.git” directory in your project’s top level directory) and nearly all Git operations work directly with that embedded repository. You can commit revisions, diff, revert, branch, merge, etc. all within that local repo.
(All of the above is also true of Mercurial, btw. Some people prefer it. In particular, the command syntax and feature set are more familiar if you’re used to SVN or CVS. Git has more of a learning curve.)
**It is a no-brainer to use Git (or Mercurial) for everything.** If you create a project with Xcode, it’s just a checkbox to enable a Git repo. If you start a task using something else, it just takes one shell command (“git init”) to create the repo. Xcode has an OK GUI for working with Git, and the free app SourceTree has a better and more comprehensive one, so you barely ever need to use the command line if you don’t want to.
—Jens
PS: Even if you want to use Git with a server, it doesn’t take much setup. Any box you can SSH into, which also has the Git command-line tools installed, will work. There’s no special “Git server” to set up. About all you have to do is (a) create a directory on the box to put your repos into, (b) figure out the right URL to use to point to that directory, and (c) learn how to use a few Git commands to set up a “remote” and push to it.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden