One possible technique its to check out the current index into a temporary git work directory (which can be set as part of the command).
Given that you may not have committed the current index, I see the options as creating a temporary branch just to commit the current index, or using one of the 'git reset' options to extract the index into the temporary working directory. Hope that gives you some ideas for browing the manual. Philip ----- Original Message ----- From: [email protected] To: [email protected] Sent: Friday, August 23, 2013 5:55 AM Subject: [git-users] test version in the index 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.
