Skip to content

Instantly share code, notes, and snippets.

@mikeumus
Created April 2, 2014 04:49
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikeumus/9928101 to your computer and use it in GitHub Desktop.
Save mikeumus/9928101 to your computer and use it in GitHub Desktop.
Setup your GitHub Repo
Download git-bash from git-scm:
http://www.git-scm.com/
In git bash use the 'cd' command to navigate you your project's root folder.
Use the 'ls' command to list the files in the current directory to help you navigate.
`git init`
`git remote add origin https://github.com/username/project.git`
The url at the end of this command is from the GitHub.com repo your connecting to locally.
You now have git setup locally for your porject with the remote of "origin" and the default branch of "master".
Cheers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment