Skip to content

Instantly share code, notes, and snippets.

@rvazquezglez
Created December 13, 2012 20:07
Show Gist options
  • Save rvazquezglez/4279357 to your computer and use it in GitHub Desktop.
Save rvazquezglez/4279357 to your computer and use it in GitHub Desktop.
Git commands to get started.
git config --global user.name "My Name"
git config --global user.email [email protected]
git config --global color.diff auto
git config --global color.status auto
git config --global color.branch auto
cd myproject
git init
git add .
git commit
git remote set-url origin git://new.url.here
git remote add origin https://github.com/user/repo.git
git remote -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment