Wednesday, 7 August 2013

Is there a way to run a command on a different git branch?

Is there a way to run a command on a different git branch?

I have a large rails project with several feature branches active at any
one time. We have a long running task (rebuild the db, run the tests).
I would like to be able to run the test task on one feature branch while
changing code on another. Is there a way to run a particular command on a
certain branch, but have another branch active in another terminal?

No comments:

Post a Comment