Skip to content

Instantly share code, notes, and snippets.

@iamedu
Created June 23, 2011 01:24
Show Gist options
  • Save iamedu/1041700 to your computer and use it in GitHub Desktop.
Save iamedu/1041700 to your computer and use it in GitHub Desktop.
Merge and ignore specific file
git merge --no-commit branch
git checkout --ours -- thefile.ext
git commit -m "Horrendouse message"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment