ruby-git
https://github.com/ruby-git/ruby-git
Ruby
Ruby/Git is a Ruby library that can be used to create, read and manipulate Git repositories by wrapping system calls to the git binary.
Git::Diff::FullDiffParser#start_new_file
No Docs, write some!
Edit
git clone [email protected]:ruby-git/ruby-git.git
cd ruby-git
open lib/git/diff.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Git--Diff--FullDiffParser-start_new_file-for-pr
# Commit to gitgit add lib/git/diff.rbgit commit -m "better docs for Git::Diff::FullDiffParser#start_new_file"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Git--Diff--FullDiffParser-start_new_file-for-pr
hub pull-request
# Celebrate!