📜  使用 dropbox 作为私有 git 存储库 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:08.431000             🧑  作者: Mango

代码示例1
~/project $ git init
~/project $ git add .
~/project $ git commit -m "first commit"
~/project $ cd ~/Dropbox/git

~/Dropbox/git $ git init --bare project.git
~/Dropbox/git $ cd ~/project

~/project $ git remote add origin ~/Dropbox/git/project.git
~/project $ git push -u origin master