Created
August 7, 2013 19:00
-
-
Save delphian/6177336 to your computer and use it in GitHub Desktop.
Overwrite regex matched files from one branch to another using git diff.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git diff master --name-only | grep -E '(css|sass)' | xargs -I{} git checkout master {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment