This course will become read-only in the near future. Tell us at community.p2pu.org if that is a problem.

Install Git


Install Git

Use the following documentation to install and configure Git:

Post successes, questions, failures, etc to this assignment page. We will do our best to help each other along the way.

Verify the Git installation

In order to see if you are setup and initilized properly run the following command in your teminal:

git config --global -l 

Git Philosophy and Familiarization

If everything is initialized properly, read the Git Community Book chapter entitled Welcome to Git.

Task Discussion


  • malicke   Oct. 31, 2012, 2:15 p.m.

    I'm not seeing a chapter titled "welcome to git" 

    Has the handbook changed? What should I focus on?

  • Matija Šuklje   Oct. 31, 2012, 4:20 p.m.
    In Reply To:   malicke   Oct. 31, 2012, 2:15 p.m.

    I found the Getting Started chapter useful for this task.

  • malicke   Oct. 31, 2012, 4:21 p.m.
    In Reply To:   Matija Šuklje   Oct. 31, 2012, 4:20 p.m.

    thanks!

  • Matija Šuklje   Oct. 27, 2012, 7:13 p.m.

    Got it installed on my Gentoo GNU/Linux and on my MeeGo phone without a problem.

     

    The only issue I see is that there is no chapter called “Welcome to Git” in the online book under the link in this task’s description.

  • Melissa Seifman   Aug. 10, 2012, 9:20 a.m.

    I ran the installer for Windows without a problem.  When I went to the setup and configuration, I tried to locate the config file in my home directory, but couldn't see it there.  I then went to the GIT directory, and didn't see it here either.

     

    The directions were showing a $ prompt before each setup command, and I knew it wasn't a CLI prompt, so I got adventurous and opened the gitbash.exe file, which was exactly what I needed.  Configured everything just fine =)

  • nzeribe   July 10, 2012, 6:17 p.m.

    Yep, I've run the installer on Macintosh, and the terminal gives me feedback that it's set up correctly.

  • cnast   Sept. 12, 2011, 4:56 p.m.

    After installing and setting up, I found useful background information in the Git Community Book. Reading through from the beginning is helping me understand more about Gitl -- why things work as they do -- not just "what to type." (So glad to know about blobs! I had know idea about the built-in entertainment value.)

    Have a look here if you are like me and what to know the "why" of what you do.smiley http://book.git-scm.com/1_welcome_to_git.html

  • Brylie Oxley   Sept. 13, 2011, 1:57 p.m.
    In Reply To:   cnast   Sept. 12, 2011, 4:56 p.m.

    As a participant, you have the ability to edit the tasks. Please add any information to the task that you feel would be helpful. This is a collaborative study group. :)

  • cnast   Sept. 12, 2011, 3:50 p.m.

    I've followed the instructions for the first task as described in the Git Community Book and received no errors, but how do I know if it worked? Is there a test I can do to check? For example, Is there a way to ask Git to return the stored username and email?

  • jonathan   Sept. 12, 2011, 4:18 p.m.
    In Reply To:   cnast   Sept. 12, 2011, 3:50 p.m.

    git config --global -l dentro de una terminal en la ruta de tu repositorio y te entregará los valores.

     

    git config --global -l on your favourite terminal over your git repository and then it would appear.

  • cnast   Sept. 12, 2011, 4:24 p.m.
    In Reply To:   jonathan   Sept. 12, 2011, 4:18 p.m.

    aha! excellent - I've done the first task successfully.

  • Crisman Noble   Dec. 27, 2011, 12:59 p.m.
    In Reply To:   jonathan   Sept. 12, 2011, 4:18 p.m.

    Nice, this is very helpful. I added this to the task description, if that is out of line someone please change it back.

  • Brylie Oxley   Dec. 27, 2011, 5:14 p.m.
    In Reply To:   Crisman Noble   Dec. 27, 2011, 12:59 p.m.

    Thanks Jonathan and Crisman. This is a peer led study group. Every participant is welcome to change and improve the tasks.