$ git clone -n https://src.fedoraproject.org/rpms/golang-github-moby-buildkit.git /var/lib/mock/f40-build-2252310-54182/root/chroot_tmpdir/scmroot/golang-github-moby-buildkit Cloning into '/var/lib/mock/f40-build-2252310-54182/root/chroot_tmpdir/scmroot/golang-github-moby-buildkit'... $ git fetch origin a100be1314899743abddb1bb3accce579fda0936:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/golang-github-moby-buildkit * [new ref] a100be1314899743abddb1bb3accce579fda0936 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a100be1 Remove deprecated %patchN syntax