$ git clone -n https://src.fedoraproject.org/rpms/libmpcdec.git /var/lib/mock/f41-build-850533-165462/root/chroot_tmpdir/scmroot/libmpcdec Cloning into '/var/lib/mock/f41-build-850533-165462/root/chroot_tmpdir/scmroot/libmpcdec'... $ git fetch origin 82d881a0b6f1b7e960b0eb20c8e9e1374b632711:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/libmpcdec * [new ref] 82d881a0b6f1b7e960b0eb20c8e9e1374b632711 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 82d881a Add upstream code fixes