Skip to content

Instantly share code, notes, and snippets.

@rdegges
Created April 11, 2011 05:54
Show Gist options
  • Save rdegges/913115 to your computer and use it in GitHub Desktop.
Save rdegges/913115 to your computer and use it in GitHub Desktop.
Install and configure Git on debian-based systems.
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