5

Possible Duplicate:
How to quickly set up Git for teams using Xcode?

I have an Xcode project folder on my Mac HD. Snow Leopard. The GitX GUI expects that I already have an Git repository. So I guess since I have GitX installed, I also have Git, and now I need to be cool and intelligent and know what to hack into the Terminal. But what? Is there any tutorial that explains this in minutes, not hours or even days?

Community
  • 1
  • 1
Proud Member
  • 40,078
  • 47
  • 146
  • 231
  • 2
    How is this different from http://stackoverflow.com/questions/4250429/how-to-quickly-set-up-git-for-teams-using-xcode – Jim Mitchener Nov 22 '10 at 22:07
  • Please don't repost the same question. Edit your previous question if it doesn't accurately reflect what you need to know. – Cascabel Nov 23 '10 at 00:14

2 Answers2

6

just git init in that folder

this is a 20 minute git link

and this is a every day most needed commands

and this is the community book for further reading

this SO post will help you also

Community
  • 1
  • 1
Ahmed Kotb
  • 6,269
  • 6
  • 33
  • 52
3

See this:

http://www.kernel.org/pub/software/scm/git/docs/user-manual.html#creating-a-new-repository

Basically, go into the root of your project and type:

$ git init
$ git add .
$ git commit

(And note the . ad the end of the git add . command.)

Ben Lee
  • 52,489
  • 13
  • 125
  • 145