Skip to content

Instantly share code, notes, and snippets.

@anderskig
anderskig / Repo
Created May 18, 2018 07:25 — forked from aridastidar/Repo
Open a project file on GitHub.
#!/bin/bash
#
# Open the specified file on GitHub. It will use the current branch by default:
#
# repo app/controllers/application_controller.rb
#
# Specify a different branch:
#
# repo -b another-branch app/controllers/application_controller.rb