Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Run two commands during git bisect run

Tags:

git

bisect

I would essentially like to do git bisect run 'bundle && bundle exec cucumber'.

I want to do this on the commandline - I don't want to write a shell script.

like image 659
Mark Wilden Avatar asked Apr 11 '12 15:04

Mark Wilden


People also ask

How do I remove a bad commit in git bisect?

Use git log to check the previous commits. Use Git Bisect to find the commit in which line 2 is changed from 'b = 20' to 'b = 0.00000'. Remove the bad commit by using Git Revert. Leave the commit message as is.

What is git bisect how can you use it to determine the source of a regression bug?

The git bisect command is a fantastic tool that can help you determine which commit introduced the bug. A regression bug is a specific type of software bug that prevents a feature or software from working when it was working before the bug was introduced. Just remember, git bisect won't "fix" the broken commit for you.


1 Answers

git bisect run sh -c 'bundle && bundle exec cucumber'
like image 196
Fred Foo Avatar answered Oct 22 '22 00:10

Fred Foo