Wednesday, December 12, 2012

Install git and clone a project on Amazon EC2 Ubuntu

Install git:
sudo apt-get install git

Setup git profile:
git config --global user.name "{your_name}"
git config --global user.email "{your_email}"
git config --global github.user "{your_github_login}"

Clone your project:
git clone {project_url}

Renaming origin
git remote rename origin github

No comments:

Post a Comment