Re: how to reduce disk usage for large .git dirs?
flat view
From: Olaf Hering <hidden>
Date: 2016-06-15 23:02:56
On Fri, Nov 14, Olaf Hering wrote:
On Fri, Nov 14, Fredrik Gustafsson wrote:quoted
On Fri, Nov 14, 2014 at 11:14:27AM +0100, Olaf Hering wrote:quoted
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