Skip to content

Instantly share code, notes, and snippets.

@mario21ic
Last active September 30, 2015 00:06
Show Gist options
  • Save mario21ic/8584ac6fa6f4a0d5a056 to your computer and use it in GitHub Desktop.
Save mario21ic/8584ac6fa6f4a0d5a056 to your computer and use it in GitHub Desktop.
Script to verify conflicts after git merge
#!/usr/bin/env bash
git status | awk '/both modified/ {print $3}'|xargs grep -n "HEAD"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment