Skip to content

Instantly share code, notes, and snippets.

@sippey
Created December 8, 2009 19:57
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 sippey/251933 to your computer and use it in GitHub Desktop.
Save sippey/251933 to your computer and use it in GitHub Desktop.
My git(hub) cheatsheet for working with TypePad Motion

My git cheatsheet for working with TypePad Motion

Initialize repo

git init

Edit .gitignore. Make sure to add these items:

.DS_Store
local_settings.py
*.pyc
*.db

Add files to git

git add .

Commit

git commit -m "Initial commit"

Copy the github repo URL to your clipboard. Add remote repo as origin.

git remote add origin GITHUBREPOURL

Push the repo to github

git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment