Fork me on GitHub
#circleci
<
2021-07-01
>
vemv09:07:26

It's pretty frustrating that Circle chokes on force pushes:

fatal: reference is not a tree: 1383c630553b2d1494218437ba741cec811c105d
often I want the old build to keep running even if another build superseded it

borkdude09:07:19

maybe you shouldn't use force pushes then

vemv09:07:05

it's perfectly normal in a wip branch (and much less so in master)

borkdude09:07:23

I tend to not like them for PR branches though.

borkdude09:07:37

it's very difficult to track what's happening when someone keeps force pushing their branch

borkdude09:07:59

and github supports squashing commits on merge anyway

vemv09:07:28

force pushing can support far more than squashing... e.g. rebase -i with intentful editing of past commits anyway that's besides the point :)

borkdude09:07:34

I notice Github actions works even less well with force pushes, CircleCI so far copes pretty well, but maybe not if you force push and some other step still has to fetch the branch. That's expected imo.

vemv09:07:31

not sure, GH unlike gitlab keeps every git object (if that's the correct term) without any eventual GC

vemv09:07:51

so I think the correct incantation will fetch 1383c630553b2d1494218437ba741cec811c105d wherever it is

borkdude09:07:37

ok, I've had some problems with this in the past, it could be improved now (but I like CircleCI much better :))

👍 3