RS
Snippets
HomeSnippetsQuery BuilderDocumentation
Welcome to Snippets
Git Branch Diverged
Git Set Upstream
Total Posts

0

Total Commits

0

(v1: 0, v2: 0)
Total Deployments

0

Latest commit:Unable to fetch commit info
9/17/2025
Latest deployment:
pending
9/17/2025
v2
Started 9/17/2025

Built by Remco Stoeten with a little ❤️

Commands/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>

Setup Drizzle ORM with SQLite

Previous Page

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.

Sep 17, 2025
4 min read
631 words