Created
November 12, 2013 16:51
-
-
Save cgkio/7434395 to your computer and use it in GitHub Desktop.
Setting up Git on EC2 to pull from GitHub repo
This file contains 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
# Install git | |
sudo apt-get install git-core | |
# Set name for git to use when you commit | |
git config --global user.name "Your Name Here" | |
# Set email for git to use when you commit | |
git config --global user.email "[email protected]" | |
# Generate SSH deploy keys by following the instructions at: | |
# https://help.github.com/articles/generating-ssh-keys#platform-linux | |
# Copy the output to GitHub's | |
cat ~/.ssh/id_rsa.pub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment