Last active
January 8, 2021 17:10
-
-
Save chadly/f8462123553e5528783d23a4a9eaa054 to your computer and use it in GitHub Desktop.
Extract javascript style guide repo from common
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
#!/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