sonic-pi

https://github.com/sonic-pi-net/sonic-pi

C++

Code. Music. Live.

Rugged::RemoteCollection#set_url

Sets the remote's url in the configuration.
Rugged::Remote objects already in memory will not be affected.

  repo.remotes.set_url("origin", 'git://github.com/libgit2/rugged.git')

Source | Google | Stack overflow

Edit

git clone [email protected]:sonic-pi-net/sonic-pi.git

cd sonic-pi

open app/server/ruby/vendor/rugged-1.7.1/ext/rugged/rugged_remote_collection.c

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Rugged--RemoteCollection-set_url-for-pr


# Commit to git

git add app/server/ruby/vendor/rugged-1.7.1/ext/rugged/rugged_remote_collection.cgit commit -m "better docs for Rugged::RemoteCollection#set_url"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Rugged--RemoteCollection-set_url-for-pr

hub pull-request


# Celebrate!