vagrant
https://github.com/mitchellh/vagrant
Ruby
Vagrant is a tool for building and distributing development environments.
VagrantPlugins::ProviderVirtualBox::Model::ForwardedPort#correct_host_port
This corrects the host port and changes it to the given new port.
Edit
git clone [email protected]:mitchellh/vagrant.git
cd vagrant
open plugins/providers/virtualbox/model/forwarded_port.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-VagrantPlugins--ProviderVirtualBox--Model--ForwardedPort-correct_host_port-for-pr
# Commit to gitgit add plugins/providers/virtualbox/model/forwarded_port.rbgit commit -m "better docs for VagrantPlugins::ProviderVirtualBox::Model::ForwardedPort#correct_host_port"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-VagrantPlugins--ProviderVirtualBox--Model--ForwardedPort-correct_host_port-for-pr
hub pull-request
# Celebrate!