sonic-pi

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

C++

Code. Music. Live.

Rugged::Submodule#init

Copy submodule info into +.git/config+ file.

Just like <tt>"git submodule init"</tt>, this copies information about the
submodule into +.git/config+.

The following options can be passed in the +options+ Hash:

:overwrite ::
  (defaults to +false+) - By default, existing entries
  will not be overwritten, but setting this to +true+ forces them to be
  updated.

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_submodule.c

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Rugged--Submodule-init-for-pr


# Commit to git

git add app/server/ruby/vendor/rugged-1.7.1/ext/rugged/rugged_submodule.cgit commit -m "better docs for Rugged::Submodule#init"


# 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--Submodule-init-for-pr

hub pull-request


# Celebrate!