Top "Git-squash" questions

git squash is the command used to rewrite git history before it is pushed to the remote.

Squash my last X commits together using Git

How can I squash my last X commits together into one commit using Git?

git rebase squash git-squash
How to use git merge --squash?

I have a remote Git server, here is the scenario which I want to perform: For each bug/feature I …

git git-merge git-squash
Combining multiple commits before pushing in Git

I have a bunch of commits on my local repository which are thematically similar. I'd like to combine them into …

git git-squash
How do you squash commits into one patch with git format-patch?

I've got eight commits on a branch that I'd like to email to some people who aren't git enlightened, yet. …

git patch squash git-squash
How to squash commits which have merge-commit in between?

I am working on a feature branch. Made several commits. Squashed commits. Pushed changes to remote branch. Got conflicts. Merged …

git merge git-squash
Git rebase (Merge Squash) my feature branch onto another branch

I'm looking for a git command to help me with my feature branches when they're ready to go into Master. …

git git-merge git-squash
Cherry-pick and squash a range of commits into a subdirectory or subtree

How can I tell cherry-pick to pick range of commits and squash it? Or in other words, apply the diff …

git git-cherry-pick git-squash
How to Squash 3 commits into 1?

I'm fairly new to git, so I've been trying to figure out how to squash 3 commits into 1 so my PR …

git github git-commit git-squash
Intellij - How to squash local branch only

When using Git inside of Intellij, how do I squash all of my commits for a local branch? What settings …

git intellij-idea intellij-14 git-squash
How best to squash old commits

A developer recently left who left a ton of commits in a repo from a few months ago that are …

git git-squash