Skip to content

Instantly share code, notes, and snippets.

@smarigowda
Created January 21, 2015 16:42
Show Gist options
  • Save smarigowda/aed0cfcc702c503f99f0 to your computer and use it in GitHub Desktop.
Save smarigowda/aed0cfcc702c503f99f0 to your computer and use it in GitHub Desktop.
git commands
-- setup a new repository
echo "# mygo" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/smarigowda/mygo.git
git push -u origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment