Skip to content

Instantly share code, notes, and snippets.

@subelsky
Created April 10, 2012 16:30
Show Gist options
  • Save subelsky/2352665 to your computer and use it in GitHub Desktop.
Save subelsky/2352665 to your computer and use it in GitHub Desktop.
How to archive old github private projects on Dropbox
# http://stackoverflow.com/questions/1960799/using-gitdropbox-together-effectively/1961515#1961515
export REPONAME=????
take ~/Dropbox/git/$REPONAME.git
git init --bare
cd ~/code/$REPONAME
git remote rm origin
git remote add origin ~/Dropbox/git/$REPONAME.git
git push -u origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment