Re: Force-with-lease and new branches

2016-05-08 Thread Junio C Hamano
John Keeping writes: > It looks like this has been the case since the first version of what > would become --force-with-lease [1] and I can't find any discussion > around this particular behaviour in the three versions of that patch set > I found on Gmane [2], [3], [4]. I never considered the "c

Force-with-lease and new branches

2016-05-07 Thread John Keeping
I've noticed a slightly annoying behaviour of git-push's --force-with-lease option around branch creation. I'd like to be able to do: git push --force-with-lease origin refs/heads/jk/* to push out a load of topic branches safely in case I've switched client machines and forgotten to pull