Re: how to reduce disk usage for large .git dirs?
- From
Olaf Hering <olaf@aepfle.de>
- Date
- Nov 14, 2014, 10:54 UTC
- Message-ID
- <20141114105417.GA8954@aepfle.de>
- In-Reply-To
- <20141114103013.GC2549@aepfle.de>
On Fri, Nov 14, Olaf Hering wrote:
Show 15 quoted lines
> On Fri, Nov 14, Fredrik Gustafsson wrote: > > > On Fri, Nov 14, 2014 at 11:14:27AM +0100, Olaf Hering wrote: > > > So my repo-master is now "bare". I pushed from repo-branchA into > > > repo-master and see my commits in both repos. But pushing from > > > repo-master to the remote fails because repo-master does not have > > > outstanding remote commits. However, git fetch doesnt do anything: > > > > Are you mixing up your branches? So that you're updating one branch in > > your master repo but trying to push an other branch to your remote repo? > > I dont think so. I have branchA in repo-branchA, and a 'git push origin > branchA' puts it into repo-master. > How is a bare repo supposed to be updated? Is a simple 'git fetch --all' > supposed to work?
Is there s a slim chance that I have to fetch in repo-master before doing a git push in repo-branchA? git remote show origin shows that some branches are out of date.
Olaf