MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/y9lpe4/dropbox_the_new_git/it6w5xg
r/ProgrammerHumor • u/iiCaesium • Oct 21 '22
1.8k comments sorted by
View all comments
Show parent comments
13
You should use git init --bare in the Dropbox folder. Bare repositories have no working tree for editing, but still support git operations that don't need a working tree.
git init --bare
2 u/TryingT0Wr1t3 Oct 21 '22 Ah, thanks! I didn't knew that! Git is really cool, it is really adaptable to lots of configurations!
2
Ah, thanks! I didn't knew that! Git is really cool, it is really adaptable to lots of configurations!
13
u/alexbarrett Oct 21 '22
You should use
git init --barein the Dropbox folder. Bare repositories have no working tree for editing, but still support git operations that don't need a working tree.