Last active
December 11, 2015 05:19
-
-
Save ishu3101/4551763 to your computer and use it in GitHub Desktop.
Setting up Git and Initializing your project.
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
# Setting up User Account | |
git config --global user.name "Your Name" | |
git config --global user.email "username@gmail.com" | |
# Creating a Project and Version Control it. | |
mkdir projectname | |
cd projectname | |
git init | |
touch README | |
git add README | |
git commit -m 'first commit' | |
git remote add origin git@github.com:{username}/{projectname}.git | |
git push origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment