random thoughts

Using Github Thru Dropbox

I am working on a simple rails app and am also using github for SCM.

Though installing msysgit and accessing github worked fine initially, i was not able to push my app later. The problem was my corporate network that did not allow me to upload data more than a KB. . A simple search in google i found out how to use git in dropbox .

here’s the how to i skimmed from stackoverflow

1
2
3
4
5
6
7
8
9
10
~/project $ git init
~/project $ git add .
~/project $ git commit -m "first commit"
~/project $ cd ~/Dropbox/git  
~/Dropbox/git $ mkdir project.git
~/Dropbox/git $ cd project.git
~/Dropbox/git $ git init --bare
~/Dropbox/git $ cd ~/project  
~/project $ git remote add origin ~/Dropbox/git/project.git
~/project $ git push origin master

Comments