Skip to content

Instantly share code, notes, and snippets.

@davidjguru
Created December 13, 2018 08:10
Show Gist options
  • Save davidjguru/1dd8bf021cadd079c1433a4687561642 to your computer and use it in GitHub Desktop.
Save davidjguru/1dd8bf021cadd079c1433a4687561642 to your computer and use it in GitHub Desktop.
Take changes managed by Git from current folder a folder destiny. (Useful for config .yml files in Drupal)
git status . | xargs cp -t /path/to/folder/destiny
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment