Skip to content

Instantly share code, notes, and snippets.

@chadly
Last active January 8, 2021 17:10
Show Gist options
  • Save chadly/f8462123553e5528783d23a4a9eaa054 to your computer and use it in GitHub Desktop.
Save chadly/f8462123553e5528783d23a4a9eaa054 to your computer and use it in GitHub Desktop.
Extract javascript style guide repo from common
#!/bin/bash
git filter-repo --path packages/eslint-config --path packages/prettier-config --path packages/tsconfig --path README.md --path-rename packages/eslint-config:eslint --path-rename packages/prettier-config:prettier --path-rename packages/tsconfig:tsconfig
git tag -l | xargs git tag -d
git branch --merged | grep -v \* | xargs git branch -D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment