Skip to content
Discussion options

You must be logged in to vote

Short answer: git machete slide-out --removed-from-remote. This requires your local mirror (.git/refs/remotes/origin/...) of remote branch to be removed — as done by git fetch --prune. git machete traverse --fetch always runs git fetch in --prune mode, and IIRC IntelliJ also uses that mode of fetch by default.

Still, git machete should typically detect that you've merged your branch, even if it was a squash — by looking up a commit with identical contents (tree, in gitspeak) in parent branch history. This is under improvement currently by @gjulianm on #1238, to detect even more non-obvious squash-merges ;) This merged-ness of a branch is marked as gray edge in status, and traverse will su…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by PawelLipski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants