$ git clone -n https://src.fedoraproject.org/rpms/dolphin.git /var/lib/mock/f42-build-side-1-3506330-45996/root/chroot_tmpdir/scmroot/dolphin Cloning into '/var/lib/mock/f42-build-side-1-3506330-45996/root/chroot_tmpdir/scmroot/dolphin'... $ git fetch origin b3a42eb2de3d777e3dcbbdffd4066e3f006ef94d:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/dolphin * [new ref] b3a42eb2de3d777e3dcbbdffd4066e3f006ef94d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b3a42eb Added patch for session restore