Last Updated: September 09, 2019
·
2.318K
· nvk

Git "server" on Dropbox

Setup repo on Dropbox

cd ~/Dropbox/Git 
mkdir -p REPO-NAME.git
cd !$
git --bare init

Setup Push

cd my-repo
git remote add dropbox file://$HOME/Dropbox/Git/REPO-NAME.git
git push dropbox master 

Multiple users can push to this remote repo