Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LeeBrotherston/412b5cd46d29934cd0f265b2292bf447 to your computer and use it in GitHub Desktop.
Save LeeBrotherston/412b5cd46d29934cd0f265b2292bf447 to your computer and use it in GitHub Desktop.
Make rebase merge fun more palettable for golang 🤣
cat go.mod | grep -Fv '>>>>>>>' | grep -Fv '=======' | grep -Fv '<<<<<<<' > go.mod.tmp && mv go.mod.tmp go.mod && go mod tidy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment