Created
April 11, 2011 05:54
-
-
Save rdegges/913115 to your computer and use it in GitHub Desktop.
Install and configure Git on debian-based systems.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo aptitude -y install git | |
sudo su - jenkins | |
git config --global user.name "Jenkins CI" | |
git config --global user.email "[email protected]" | |
ssh-keygen -t rsa -C "[email protected]" # Use all the default options, don't specify | |
# a password. | |
cat .ssh/id_rsa.pub # Grant this SSH key access to your Git repositories. | |
# If you're using github, you'll also want to do: | |
ssh [email protected] | |
# And accept the connection so that you add github.com to your known_hosts file. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment