From: Jeff King Date: Thu, 21 Jun 2012 06:07:24 GMT Subject: Re: git-push error handling Message-ID: <20120621060724.GA19485@sigill.intra.peff.net> In-Reply-To: On Wed, Jun 20, 2012 at 02:43:04PM -0500, Neal Kreitzinger wrote: > Does git push always return an error to "if [ $? -ne 0 ]" when the > push fails? Is this sufficient to verify your git-push worked? It should (and if it doesn't, it's a bug). But do note that even a failed push may have been partially successful (e.g., pushed some refs but failed on others). -Peff