sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
Rugged::Repository#ref
Look up a single reference by name.
Example:
repo.ref 'refs/heads/master'
# => #<Rugged::Reference:2199125780 {name: "refs/heads/master",
target: "25b5d3b40c4eadda8098172b26c68cf151109799"}>
Returns a Rugged::Reference.Edit
git clone [email protected]:sonic-pi-net/sonic-pi.git
cd sonic-pi
open app/server/ruby/vendor/rugged-1.7.1/lib/rugged/repository.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Rugged--Repository-ref-for-pr
# Commit to gitgit add app/server/ruby/vendor/rugged-1.7.1/lib/rugged/repository.rbgit commit -m "better docs for Rugged::Repository#ref"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Rugged--Repository-ref-for-pr
hub pull-request
# Celebrate!