You can put the not commited changes in the stash (git stash). Then you run the tests and recover the changes with git stash pop.
William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Fri, Aug 23, 2013 at 1:55 AM, <[email protected]> wrote: > After making a number of changes, I decide I want to commit some of them > and > continue working on the rest. I do this by moving the desired parts to > the index. > Before committing, it would useful if there were a way to test this commit > alone, > say, so it doesn't break a build. Is there a convenient way to do so? > > -- > You received this message because you are subscribed to the Google Groups > "Git for human beings" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
