you can try writing a git hook to "post-checkout" and "pre-checkout" to run the db:seed
or more easily change the db you're working based on the branch?
I'm also curious about this, is there any tutorial steps to follow? Thank you in advanced
apparently there's no pre-checkout hook. Each time your working tree is updated the hook will run making your checkouts slower though.
Here's a tutorial that deletes python cache files you can easily edit this to do what you want
http://codeinthehole.com/writing/a-useful-git-post-checkout-hook-for-python-repos/
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community