sonic-pi

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

C++

Code. Music. Live.

Rugged::Submodule#finalize_add

Resolve the setup of a new submodule.

This should be called on a submodule once
Rugged::SubmoduleCollection#setup_add is finished and the sumodule repo is
cloned.

This adds the +.gitmodules+ file and the newly cloned submodule to the index
to be ready to be committed (but doesn't actually do the commit).

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-finalize_add-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#finalize_add"


# 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-finalize_add-for-pr

hub pull-request


# Celebrate!