Re: [BUG] fetching all remote branches results in failed multiple updates
- From
- Alexander Huynh <alex@grande.coffee>
- Date
- Mar 14, 2019, 17:20 UTC
- Message-ID
- <20190314172032.GA10461@chabuduo>
- In-Reply-To
- <20190313234524.GA3053@chabuduo>
Hi all,
Sorry to bother one last time. After a bit more digging, I found that the problem was with my workflow.
Shallow clones set `remote.origin.fetch` to one branch, so what I was doing in the past was overriding the respository-specific `remote.origin.fetch` with my global config.
I've now changed my workflow to perform a shallow clone at first, `cd` into the repository, and locally set `remote.origin.fetch` to `+refs/heads/*:refs/remotes/origin/*`.
Thanks again, Alex