Created
September 10, 2008 08:01
-
-
Save sids/9850 to your computer and use it in GitHub Desktop.
git tips
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
## setup | |
git config user.name "Siddhartha Reddy" | |
git config user.email "" | |
## setup -- global | |
git config --global user.name "Siddhartha Reddy" | |
git config --global user.email "" | |
git config --global color.branch "auto" | |
git config --global color.status "auto" | |
git config --global color.diff "auto" | |
git config --global color.ui "auto" | |
## pushing existing git repo to a newly-created one | |
cd existing_git_repo | |
git remote add origin new_git_repo_url | |
git push origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment