This file contains hidden or 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 Worktree Setup Script | |
| # Creates a new git worktree and optionally syncs dependencies from the main repo. | |
| # Useful for working on multiple branches simultaneously without re-installing dependencies. | |
| # Colors for output | |
| RED='\033[0;31m' | |
| GREEN='\033[0;32m' | |
| YELLOW='\033[1;33m' |
This file contains hidden or 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 | |
| # This has to be run from master | |
| git checkout master | |
| # Update our list of remotes | |
| git fetch | |
| git remote prune origin | |
| # Remove local fully merged branches | |
| git branch --merged master | grep -v 'master$' | grep -v 'dev$' | xargs git branch -d |
This file contains hidden or 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
| # OSX | |
| .DS_Store | |
| # Xcode | |
| ios/ | |
| *.p12 | |
| *.jks | |
| *.key | |
| *.mobileprovision | |
| !ios/*/*.plist |