Skip to content

Instantly share code, notes, and snippets.

@ishu3101
Last active December 11, 2015 05:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ishu3101/4551763 to your computer and use it in GitHub Desktop.
Save ishu3101/4551763 to your computer and use it in GitHub Desktop.
Setting up Git and Initializing your project.
# 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