Total Posts

0

Total Commits

0

(v1: 0, v2: 0)
Total Deployments

0

Latest commit:Unable to fetch commit info
10/13/2025
Latest deployment:
pending
10/13/2025
v2
Started 10/13/2025

Built by Remco Stoeten with a little ❤️

RS
Snippets
HomeSnippetsQuery BuilderDocumentation
Welcome to Snippets
Git Branch Diverged
Git Set Upstream
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.

Oct 13, 2025
1 min read
135 words