Pushed to git bare repo and I can't pull changes from other machines

梦想的初衷 提交于 2019-12-06 14:37:50
VonC

my blablabla/Dropbox/blablabla.git file is smaller than my local /var/www/blablabla/.git

Of course: the first one is a bare repo (for you want to push to it).
The second one is a non-bare repo, with a working tree above it. It can include more unpacked elements in it.

Using Git with Dropbox is dangerous:

Yes, you cannot push to a bundle, but you can quickly create an incremental bundle to exchange the latest commits (I mention scripts in this answer).

Regarding missing commits, and git push dropbox showing "up to date", check that you are currently on a valid branch (git branch), and not in a detached head.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!