Skip to content

Instantly share code, notes, and snippets.

@jameshopkins
Created July 2, 2014 11:16
Show Gist options
  • Save jameshopkins/1d84fabcf8dafa1f8086 to your computer and use it in GitHub Desktop.
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.
# 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