Open Source Comes to Campus/Curriculum/Laptop setup/Linux git: Difference between revisions
Content added Content deleted
imported>Paulproteus (Add Linux instructions) |
imported>Shauna No edit summary |
||
Line 6: | Line 6: | ||
That will install the git version control system. If you get an error, let a staff member know. |
That will install the git version control system. If you get an error, let a staff member know. |
||
== Set your user name and email == |
|||
You'll also want to tell git your name and email address. To do this, type: |
|||
git config --global user.name "your-user-name" |
|||
git config --global user.email "your email" |
|||
You can test that they've successfully been set by typing: |
|||
git config --global user.name "your-user-name" |
|||
git config --global user.email |
|||
== Back to laptop setup == |
== Back to laptop setup == |
Revision as of 03:53, 28 September 2013
One step
If you are running Debian or Ubuntu, run the following command:
sudo apt-get install git-core
That will install the git version control system. If you get an error, let a staff member know.
Set your user name and email
You'll also want to tell git your name and email address. To do this, type:
git config --global user.name "your-user-name" git config --global user.email "your email"
You can test that they've successfully been set by typing:
git config --global user.name "your-user-name" git config --global user.email