Skip to content

Instantly share code, notes, and snippets.

@vinodhkumarvm
Forked from mrdanadams/create_origin.sh
Created August 18, 2012 17:41
Show Gist options
  • Save vinodhkumarvm/3388671 to your computer and use it in GitHub Desktop.
Save vinodhkumarvm/3388671 to your computer and use it in GitHub Desktop.
Private github repos
$ cd git
$ mkdir yourproject.git
$ cd yourproject.git
$ git --bare init
$ cd yourproject
$ git init
$ git add *
$ git commit
$ cd ~/Dropbox
$ mkdir git
$ cd yourproject
$ git remote add origin ~/Dropbox/git/yourproject.git
$ git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment