Skip to content

Instantly share code, notes, and snippets.

@waleedsamy
Created August 3, 2017 08:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save waleedsamy/48eedca13bd9baec07af9e69af8ad987 to your computer and use it in GitHub Desktop.
Save waleedsamy/48eedca13bd9baec07af9e69af8ad987 to your computer and use it in GitHub Desktop.
Run test for your project and continue working on the code in same time
git worktree add -b run-test-for-fix-bug-x ../fix-bug-x origin/fix-bug-x
rm -rf ../fix-bug-x && git worktree prune
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment