News for hackers. Stuff that matters.
Re:Ask HN: How do you sync your Git repos across machines at... by stephenr on Wednesday August 21, 2024 @04:46AM (#41308191)
You don't need to use a bare repo necessarily if you want to push/pull between two working repos, without a central "bare" repo locally, you just need to tell git to update when receiving:

`git config receive.denyCurrentBranch updateInstead`

There are no comments on this comment yet.