Created
July 2, 2014 11:16
-
-
Save jameshopkins/1d84fabcf8dafa1f8086 to your computer and use it in GitHub Desktop.
Keep the contents of SASS files up-to-date with existing CSS files on master when retrofitting into an existing project on a feature branch.
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
# Assumes your current directory is where your CSS files live. | |
for f in *.css; do git mv ${f%.css}.css [SASS DIR]/${f%.css}.scss; done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment