derailed_benchmarks
https://github.com/zombocom/derailed_benchmarks
Ruby
Go faster, off the Rails - Benchmarks for your whole Rails app
DerailedBenchmarks::Git::SwitchProject#restore_branch_on_return
No Docs, write some!
Edit
git clone [email protected]:zombocom/derailed_benchmarks.git
cd derailed_benchmarks
open lib/derailed_benchmarks/git/switch_project.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-DerailedBenchmarks--Git--SwitchProject-restore_branch_on_return-for-pr
# Commit to gitgit add lib/derailed_benchmarks/git/switch_project.rbgit commit -m "better docs for DerailedBenchmarks::Git::SwitchProject#restore_branch_on_return"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-DerailedBenchmarks--Git--SwitchProject-restore_branch_on_return-for-pr
hub pull-request
# Celebrate!