Total Posts

0

Total Commits

0

(v1: 0, v2: 0)
Total Deployments

0

Latest commit:Unable to fetch commit info
6/23/2025
Latest deployment:
pending
6/23/2025
v2
Started 6/23/2025

Built by Remco Stoeten with a little ❤️

Snippets.remcostoeten
Snippets.remcostoeten
Snippets
Welcome to Snippets
Disable Sudo Password Prompts on macOS
Disable Sudo Password Prompts on macOS
Validate env variables
Drizzle ORM Schema Design
Setup Drizzle ORM with SQLite
Keybindings remap
Keyboard Tester Feature Prompt
Microphone Tester Feature Prompt
Webcam Tester
Practical Electron + Prisma Integration Guide
Complete Electron + Prisma Integration Guide
Git Branch Diverged
Git Set Upstream
Text Formatting Components
Suspense Wrapper Guide for SSR and Client UX
Git

Git Branch Diverged

Are you also frustrated when that 'do you want to rebase, merge or else' question pops up?

If you clone, and get the question of merge /rebase or else, when your copy is different, and you don't feel like figuring out the history simply do:

git branch -D <branch-name>

This will delete the branch locally.

If you want to delete the branch from the remote, you can do:

git push origin --delete <branch-name>

Complete Electron + Prisma Integration Guide

Comprehensive A-Z guide for integrating Prisma with Electron, covering edge cases, IPC communication, and database management

Git Set Upstream

When working on a new repository and you want to create a new branch it'll prompt you to set the upstream branch.

Jun 23, 2025
2 min read
302 words